diff options
author | Vedant Kumar <vsk@apple.com> | 2016-07-06 03:08:47 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-07-06 03:08:47 +0000 |
commit | 1d137f54a32ad384bdc80b02bd3a0f3d64b43fe9 (patch) | |
tree | b0c0d87259a86e8549cb984b68013b694692e5b9 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 91990ab3ac72b41d7c9b9b7e0aa940cdbe15f6f6 (diff) | |
download | bcm5719-llvm-1d137f54a32ad384bdc80b02bd3a0f3d64b43fe9.tar.gz bcm5719-llvm-1d137f54a32ad384bdc80b02bd3a0f3d64b43fe9.zip |
Delete some dead code, NFC
Found using clang's code coverage tool.
llvm-svn: 274599
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
-rw-r--r-- | clang/lib/CodeGen/CoverageMappingGen.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/CodeGen/CoverageMappingGen.cpp b/clang/lib/CodeGen/CoverageMappingGen.cpp index 3980c4704ce..7055e3a3568 100644 --- a/clang/lib/CodeGen/CoverageMappingGen.cpp +++ b/clang/lib/CodeGen/CoverageMappingGen.cpp @@ -202,12 +202,6 @@ public: return None; } - /// \brief Return true if the given clang's file id has a corresponding - /// coverage file id. - bool hasExistingCoverageFileID(FileID File) const { - return FileIDMapping.count(File); - } - /// \brief Gather all the regions that were skipped by the preprocessor /// using the constructs like #if. void gatherSkippedRegions() { @@ -387,10 +381,6 @@ struct CounterCoverageMappingBuilder return addCounters(addCounters(C1, C2), C3); } - Counter addCounters(Counter C1, Counter C2, Counter C3, Counter C4) { - return addCounters(addCounters(C1, C2, C3), C4); - } - /// \brief Return the region counter for the given statement. /// /// This should only be called on statements that have a dedicated counter. |