Remove dead function.
authorNick Lewycky <nicholas@mxc.ca>
Thu, 5 May 2011 00:17:34 +0000 (00:17 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 5 May 2011 00:17:34 +0000 (00:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130903 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/GCOVProfiling.cpp

index 629a485bc1c2ae8988e0392935aac1f5204a308f..3c292980e50aceee6892d4170277ad792d3a49ac 100644 (file)
@@ -321,11 +321,6 @@ namespace {
   };
 }
 
-// Replace the stem of a file, or add one if missing.
-static std::string replaceStem(std::string OrigFilename, std::string NewStem) {
-  return (sys::path::stem(OrigFilename) + "." + NewStem).str();
-}
-
 std::string GCOVProfiler::mangleName(DICompileUnit CU, std::string NewStem) {
   if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) {
     for (int i = 0, e = GCov->getNumOperands(); i != e; ++i) {