summaryrefslogtreecommitdiff
path: root/tools/llvm-nm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-24 17:04:05 +0000
committerChris Lattner <sabre@nondot.org>2006-05-24 17:04:05 +0000
commitd74ea2bbd8bb630331f35ead42d385249bd42af8 (patch)
tree409cce9886da3cfca4dc504ddaef26781f6e69f6 /tools/llvm-nm
parentc22158d371feb847f988e1ab2b287a27ea4c3c73 (diff)
downloadllvm-d74ea2bbd8bb630331f35ead42d385249bd42af8.tar.gz
llvm-d74ea2bbd8bb630331f35ead42d385249bd42af8.tar.bz2
llvm-d74ea2bbd8bb630331f35ead42d385249bd42af8.tar.xz
Patches to make the LLVM sources more -pedantic clean. Patch provided
by Anton Korobeynikov! This is a step towards closing PR786. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-nm')
-rw-r--r--tools/llvm-nm/llvm-nm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp
index 604e30a3d5..dae8f95f85 100644
--- a/tools/llvm-nm/llvm-nm.cpp
+++ b/tools/llvm-nm/llvm-nm.cpp
@@ -63,7 +63,7 @@ namespace {
bool MultipleFiles = false;
std::string ToolName;
-};
+}
char TypeCharForSymbol (GlobalValue &GV) {
if (GV.isExternal ()) return 'U';