[cfe-commits] r106786 - /cfe/trunk/lib/Frontend/InitPreprocessor.cpp

Eric Christopher echristo at apple.com
Thu Jun 24 13:41:41 PDT 2010


Author: echristo
Date: Thu Jun 24 15:41:41 2010
New Revision: 106786

URL: http://llvm.org/viewvc/llvm-project?rev=106786&view=rev
Log:
Remove HAS_TLS define.

Modified:
    cfe/trunk/lib/Frontend/InitPreprocessor.cpp

Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitPreprocessor.cpp?rev=106786&r1=106785&r2=106786&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/InitPreprocessor.cpp (original)
+++ cfe/trunk/lib/Frontend/InitPreprocessor.cpp Thu Jun 24 15:41:41 2010
@@ -460,10 +460,6 @@
   if (FEOpts.ProgramAction == frontend::RunAnalysis)
     Builder.defineMacro("__clang_analyzer__");
 
-  // Define __HAS_TLS__ if the target supports it.
-  if (TI.isTLSSupported())
-    Builder.defineMacro("__HAS_TLS__");
-  
   // Get other target #defines.
   TI.getTargetDefines(LangOpts, Builder);
 }





More information about the cfe-commits mailing list