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 | 1ba972442a12a0599298d45c209ecf01cde54f05 (patch) | |
tree | a7782241745bb7377641ddd75489f928b173ed88 /lib/CodeGen/CoverageMappingGen.cpp | |
parent | 4ba030a00a48acf25af1789472401a818cb328cb (diff) |
Delete some dead code, NFC
Found using clang's code coverage tool.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CoverageMappingGen.cpp')
-rw-r--r-- | lib/CodeGen/CoverageMappingGen.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/CodeGen/CoverageMappingGen.cpp b/lib/CodeGen/CoverageMappingGen.cpp index 3980c4704c..7055e3a356 100644 --- a/lib/CodeGen/CoverageMappingGen.cpp +++ b/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. |