summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-04-26 07:30:10 +0000
committerDuncan Sands <baldrick@free.fr>2011-04-26 07:30:10 +0000
commita37caf64724a88136b38f734041c3c9f38c64bbd (patch)
treeab58a4027a45cd041f60eb3d2697f38bf71169c1 /lib/VMCore
parentbffc2b4af1abe9d25392819b5d9a14f2f228abd4 (diff)
downloadllvm-a37caf64724a88136b38f734041c3c9f38c64bbd.tar.gz
llvm-a37caf64724a88136b38f734041c3c9f38c64bbd.tar.bz2
llvm-a37caf64724a88136b38f734041c3c9f38c64bbd.tar.xz
Another example of a static table that wasn't marked static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130193 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp
index a5ec73d851..013c4587c9 100644
--- a/lib/VMCore/Function.cpp
+++ b/lib/VMCore/Function.cpp
@@ -363,7 +363,7 @@ const FunctionType *Intrinsic::getType(LLVMContext &Context,
}
bool Intrinsic::isOverloaded(ID id) {
- const bool OTable[] = {
+ static const bool OTable[] = {
false,
#define GET_INTRINSIC_OVERLOAD_TABLE
#include "llvm/Intrinsics.gen"