r206402 - Objective-C rewriter. Use _WIN64 instead of __LLP64__

Fariborz Jahanian fjahanian at apple.com
Wed Apr 16 10:03:07 PDT 2014


Author: fjahanian
Date: Wed Apr 16 12:03:06 2014
New Revision: 206402

URL: http://llvm.org/viewvc/llvm-project?rev=206402&view=rev
Log:
Objective-C rewriter. Use _WIN64 instead of __LLP64__
to conditinalize on 64bit length in a generated meta-data.
// rdar://16489050

Modified:
    cfe/trunk/lib/Rewrite/Frontend/RewriteModernObjC.cpp

Modified: cfe/trunk/lib/Rewrite/Frontend/RewriteModernObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/Frontend/RewriteModernObjC.cpp?rev=206402&r1=206401&r2=206402&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/Frontend/RewriteModernObjC.cpp (original)
+++ cfe/trunk/lib/Rewrite/Frontend/RewriteModernObjC.cpp Wed Apr 16 12:03:06 2014
@@ -6108,7 +6108,7 @@ void RewriteModernObjC::Initialize(ASTCo
   Preamble += "  int *isa;\n";
   Preamble += "  int flags;\n";
   Preamble += "  char *str;\n";
-  Preamble += "#if __LLP64__\n";
+  Preamble += "#if _WIN64\n";
   Preamble += "  long long length;\n";
   Preamble += "#else\n";
   Preamble += "  long length;\n";





More information about the cfe-commits mailing list