r230893 - Sema: Remove stray static

Benjamin Kramer benny.kra at googlemail.com
Sun Mar 1 10:09:52 PST 2015


Author: d0k
Date: Sun Mar  1 12:09:50 2015
New Revision: 230893

URL: http://llvm.org/viewvc/llvm-project?rev=230893&view=rev
Log:
Sema: Remove stray static

This is a real bug if the code path is ever used with different pointer
sizes in the same process.

Modified:
    cfe/trunk/lib/Sema/SemaChecking.cpp

Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaChecking.cpp?rev=230893&r1=230892&r2=230893&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
+++ cfe/trunk/lib/Sema/SemaChecking.cpp Sun Mar  1 12:09:50 2015
@@ -2128,7 +2128,7 @@ bool Sema::SemaBuiltinVAStartARM(CallExp
   if (checkBuiltinArgument(*this, Call, 0))
     return true;
 
-  static const struct {
+  const struct {
     unsigned ArgNo;
     QualType Type;
   } ArgumentTypes[] = {





More information about the cfe-commits mailing list