]> granicus.if.org Git - clang/commitdiff
lib/Basic/Targets.cpp: __builtin_va_list is as same on win64 mingw64!
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 17 Jan 2011 22:56:23 +0000 (22:56 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 17 Jan 2011 22:56:23 +0000 (22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123691 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 2ba09a9197052a6a8ab1036aad5bba723caccc39..19e758747b0c1395ae295766d84cdc9de0b21435 100644 (file)
@@ -1586,6 +1586,9 @@ public:
     WindowsTargetInfo<X86_64TargetInfo>::getTargetDefines(Opts, Builder);
     Builder.defineMacro("_WIN64");
   }
+  virtual const char *getVAListDeclaration() const {
+    return "typedef char* __builtin_va_list;";
+  }
 };
 } // end anonymous namespace
 
@@ -1603,9 +1606,6 @@ public:
     Builder.defineMacro("_M_X64");
     Builder.defineMacro("_M_AMD64");
   }
-  virtual const char *getVAListDeclaration() const {
-    return "typedef char* __builtin_va_list;";
-  }
 };
 } // end anonymous namespace