]> granicus.if.org Git - clang/commitdiff
Remove HAS_TLS define.
authorEric Christopher <echristo@apple.com>
Thu, 24 Jun 2010 20:41:41 +0000 (20:41 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 24 Jun 2010 20:41:41 +0000 (20:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106786 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/InitPreprocessor.cpp

index ab0e7067a8e4d320e2ec1b63fbc011d66e13a395..c9c76e5f1f3b08d24fc21f6805fce8c0b0dda4fc 100644 (file)
@@ -460,10 +460,6 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
   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);
 }