commit | 738422fa501a08e58d1d55ebebdf0ca499059d72 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Apr 15 17:08:50 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Apr 15 17:08:50 2010 +0000 |
tree | bdf2ae210bf2fd57d31bf92e1a3d89a631ab3d58 | |
parent | b414b393aa17693ce7db0ed9409e9c6a721394a2 [diff] [blame] |
Fix a bunch of namespace polution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101376 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index e9f074e..ff69f54 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1331,7 +1331,7 @@ /// isSubprogramContext - Return true if Context is either a subprogram /// or another context nested inside a subprogram. -bool isSubprogramContext(MDNode *Context) { +static bool isSubprogramContext(MDNode *Context) { if (!Context) return false; DIDescriptor D(Context);