commit | b35798347ea87b8b6d36155b211016a7769f01ab | [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 | 098406b42ca7cd05745215020ae5ed82194b7c0a [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);