summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-11 22:03:07 +0000
committerChris Lattner <sabre@nondot.org>2008-08-11 22:03:07 +0000
commit7b18e35113c8e4f2d38b0a75892d0096bf3ef518 (patch)
tree29622a1c0b1a1e97a1bb41270a07076a9ec978c0 /clang/lib/Lex/Preprocessor.cpp
parent3ad53483fb706bce1f50c363a38a8dfa242e1ace (diff)
downloadbcm5719-llvm-7b18e35113c8e4f2d38b0a75892d0096bf3ef518.tar.gz
bcm5719-llvm-7b18e35113c8e4f2d38b0a75892d0096bf3ef518.zip
remove obsolete comment.
llvm-svn: 54652
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index bc284427840..dcb399d1fa3 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -391,19 +391,6 @@ static void InitializePredefinedMacros(Preprocessor &PP,
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");
OpenPOWER on IntegriCloud