[cfe-commits] r123691 - /cfe/trunk/lib/Basic/Targets.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Mon Jan 17 14:56:23 PST 2011
Author: chapuni
Date: Mon Jan 17 16:56:23 2011
New Revision: 123691
URL: http://llvm.org/viewvc/llvm-project?rev=123691&view=rev
Log:
lib/Basic/Targets.cpp: __builtin_va_list is as same on win64 mingw64!
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=123691&r1=123690&r2=123691&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Jan 17 16:56:23 2011
@@ -1586,6 +1586,9 @@
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 @@
Builder.defineMacro("_M_X64");
Builder.defineMacro("_M_AMD64");
}
- virtual const char *getVAListDeclaration() const {
- return "typedef char* __builtin_va_list;";
- }
};
} // end anonymous namespace
More information about the cfe-commits
mailing list