aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-09-09 05:32:18 +0000
committerJustin Bogner <mail@justinbogner.com>2014-09-09 05:32:18 +0000
commite53be0662adacb2a98b17d2375d781d0ce819805 (patch)
treeb0224c95482f5e145438c434f8b9d4cb47b1c6b3 /llvm/tools/llvm-cov/CodeCoverage.cpp
parent8e8aa3ff90448eea2a0ad69368062f87c7fd4058 (diff)
downloadllvm-e53be0662adacb2a98b17d2375d781d0ce819805.zip
llvm-e53be0662adacb2a98b17d2375d781d0ce819805.tar.gz
llvm-e53be0662adacb2a98b17d2375d781d0ce819805.tar.bz2
llvm-cov: Combine two types that were nearly identical (NFC)
llvm-cov had a SourceRange type that was nearly identical to a CountedRegion except that it shaved off a couple of fields. There aren't likely to be enough of these for the minor memory savings to be worth the extra complexity here. llvm-svn: 217417
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
-rw-r--r--llvm/tools/llvm-cov/CodeCoverage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cov/CodeCoverage.cpp b/llvm/tools/llvm-cov/CodeCoverage.cpp
index 6abeef3..549af92 100644
--- a/llvm/tools/llvm-cov/CodeCoverage.cpp
+++ b/llvm/tools/llvm-cov/CodeCoverage.cpp
@@ -36,8 +36,9 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/PrettyStackTrace.h"
-#include <system_error>
#include <functional>
+#include <system_error>
+#include <unordered_map>
using namespace llvm;
using namespace coverage;