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.

llvm-svn: 230893

clang/lib/Sema/SemaChecking.cpp

index 5a0d8d4..01d8215 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[] = {