From a37caf64724a88136b38f734041c3c9f38c64bbd Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 26 Apr 2011 07:30:10 +0000 Subject: [PATCH] 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 --- lib/VMCore/Function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index a5ec73d851d..013c4587c9f 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" -- 2.34.1