r274599 - Delete some dead code, NFC
Vedant Kumar via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 5 20:08:47 PDT 2016
Author: vedantk
Date: Tue Jul 5 22:08:47 2016
New Revision: 274599
URL: http://llvm.org/viewvc/llvm-project?rev=274599&view=rev
Log:
Delete some dead code, NFC
Found using clang's code coverage tool.
Modified:
cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp
Modified: cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp?rev=274599&r1=274598&r2=274599&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp (original)
+++ cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp Tue Jul 5 22:08:47 2016
@@ -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.
More information about the cfe-commits
mailing list