From: Chris Lattner Date: Mon, 11 Aug 2008 22:03:07 +0000 (+0000) Subject: remove obsolete comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de9d55a0dbee338bd4aed8764dd9b998c9f48200;p=clang remove obsolete comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54652 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index bc28442784..dcb399d1fa 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -391,19 +391,6 @@ static void InitializePredefinedMacros(Preprocessor &PP, std::vector &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");