Remove unused function /nfc
authorXinliang David Li <davidxl@google.com>
Fri, 14 Apr 2017 03:01:25 +0000 (03:01 +0000)
committerXinliang David Li <davidxl@google.com>
Fri, 14 Apr 2017 03:01:25 +0000 (03:01 +0000)
llvm-svn: 300301

clang/lib/CodeGen/CoverageMappingGen.cpp

index a3fe5f8..c74e7b5 100644 (file)
@@ -961,10 +961,6 @@ struct CounterCoverageMappingBuilder
   }
 };
 
-bool isMachO(const CodeGenModule &CGM) {
-  return CGM.getTarget().getTriple().isOSBinFormatMachO();
-}
-
 StringRef getCoverageSection(const CodeGenModule &CGM) {
   return llvm::getInstrProfCoverageSectionName(&CGM.getModule());
 }