From: Xinliang David Li Date: Fri, 14 Apr 2017 03:01:25 +0000 (+0000) Subject: Remove unused function /nfc X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88e07d05af97da3539f5471823dc92a595b465c3;p=clang Remove unused function /nfc git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300301 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CoverageMappingGen.cpp b/lib/CodeGen/CoverageMappingGen.cpp index a3fe5f88a6..c74e7b5771 100644 --- a/lib/CodeGen/CoverageMappingGen.cpp +++ b/lib/CodeGen/CoverageMappingGen.cpp @@ -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()); }