diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-02-27 22:37:23 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-02-27 22:37:23 +0000 |
commit | 9a777a3a8ed8f73cc9a256208ad3c52391eb5aae (patch) | |
tree | 119f0ee332843bc60e6c11230ca8874021b46f93 | |
parent | 6e53ceb0d4b2dd1f886284242493ab43500e32a8 (diff) |
Qualify dwarf namespace inside llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26409 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/Dwarf.h | 4 | ||||
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 2 | ||||
-rw-r--r-- | lib/Support/Dwarf.cpp | 5 |
3 files changed, 9 insertions, 2 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index cfb8c6a9ab..56972e494e 100644 --- a/include/llvm/Support/Dwarf.h +++ b/include/llvm/Support/Dwarf.h @@ -16,6 +16,8 @@ #ifndef LLVM_SUPPORT_DWARF_H #define LLVM_SUPPORT_DWARF_H +namespace llvm { + namespace dwarf { //===----------------------------------------------------------------------===// @@ -513,4 +515,6 @@ const char *CallFrameString(unsigned Encoding); } // End of namespace dwarf +} // End of namespace llvm + #endif diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 3f28832399..d08e777972 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -26,7 +26,7 @@ #include <iostream> using namespace llvm; -using namespace dwarf; +using namespace llvm::dwarf; static cl::opt<bool> DwarfVerbose("dwarf-verbose", cl::Hidden, diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp index 9ab541fd64..1f2eef4dfd 100644 --- a/lib/Support/Dwarf.cpp +++ b/lib/Support/Dwarf.cpp @@ -15,6 +15,8 @@ #include <cassert> +namespace llvm { + namespace dwarf { /// TagString - Return the string for the specified tag. @@ -568,5 +570,6 @@ const char *CallFrameString(unsigned Encoding) { return ""; } -} // End of namespace llvm. +} // End of namespace dwarf. +} // End of namespace llvm. |