]> granicus.if.org Git - clang/commitdiff
Sema: Remove stray static
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Mar 2015 18:09:50 +0000 (18:09 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 1 Mar 2015 18:09:50 +0000 (18:09 +0000)
This is a real bug if the code path is ever used with different pointer
sizes in the same process.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230893 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaChecking.cpp

index 5a0d8d4a5385b095c5f911d195489f7664de99bf..01d82155f739f762251de47a6f2278e934a79309 100644 (file)
@@ -2128,7 +2128,7 @@ bool Sema::SemaBuiltinVAStartARM(CallExpr *Call) {
   if (checkBuiltinArgument(*this, Call, 0))
     return true;
 
-  static const struct {
+  const struct {
     unsigned ArgNo;
     QualType Type;
   } ArgumentTypes[] = {