[cfe-commits] r54652 - /cfe/trunk/lib/Lex/Preprocessor.cpp

Chris Lattner sabre at nondot.org
Mon Aug 11 15:03:07 PDT 2008


Author: lattner
Date: Mon Aug 11 17:03:07 2008
New Revision: 54652

URL: http://llvm.org/viewvc/llvm-project?rev=54652&view=rev
Log:
remove obsolete comment.

Modified:
    cfe/trunk/lib/Lex/Preprocessor.cpp

Modified: cfe/trunk/lib/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Preprocessor.cpp?rev=54652&r1=54651&r2=54652&view=diff

==============================================================================
--- cfe/trunk/lib/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/lib/Lex/Preprocessor.cpp Mon Aug 11 17:03:07 2008
@@ -391,19 +391,6 @@
                                        std::vector<char> &Buf) {
   // FIXME: Implement magic like cpp_init_builtins for things like __STDC__
   // and __DATE__ etc.
-#if 0
-  /* __STDC__ has the value 1 under normal circumstances.
-  However, if (a) we are in a system header, (b) the option
-  stdc_0_in_system_headers is true (set by target config), and
-  (c) we are not in strictly conforming mode, then it has the
-  value 0.  (b) and (c) are already checked in cpp_init_builtins.  */
-  //case BT_STDC:
-  if (cpp_in_system_header (pfile))
-    number = 0;
-  else
-    number = 1;
-  break;
-#endif    
   // These should all be defined in the preprocessor according to the
   // current language configuration.
   DefineBuiltinMacro(Buf, "__STDC__=1");





More information about the cfe-commits mailing list