Silencing an MSVC warning about loop variable conflicting with a variable from an...
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfStringPool.cpp
index 84c9a88d9cd9729e3df1d06c3732e235d14f82b9..72cab60e2321c0a14c068fea4bcd4e9e0639c42f 100644 (file)
@@ -14,7 +14,7 @@ using namespace llvm;
 
 MCSymbol *DwarfStringPool::getSectionSymbol() { return SectionSymbol; }
 
-std::pair<MCSymbol *, unsigned> &
+static std::pair<MCSymbol *, unsigned> &
 getEntry(AsmPrinter &Asm,
          StringMap<std::pair<MCSymbol *, unsigned>, BumpPtrAllocator &> &Pool,
          StringRef Prefix, StringRef Str) {