]> granicus.if.org Git - clang/commit
Give __STDC_VERSION__ the value 201001L when we're in C1x mode. The
authorDouglas Gregor <dgregor@apple.com>
Fri, 28 Oct 2011 23:02:54 +0000 (23:02 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 28 Oct 2011 23:02:54 +0000 (23:02 +0000)
commit5aa6dea4efe19f4c2e6600364123fb8899ec4af7
treed960a8c447b9366fc70a61cf35ab8829ff3d7fb4
parentdfca64ddfbdbc48085119f7c943d05881899bf5e
Give __STDC_VERSION__ the value 201001L when we're in C1x mode. The
committee hasn't set a value for __STDC_VERSION__ yet, so this is a
placeholder. But at least it's > 199901L.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143245 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp
test/Lexer/has_feature_c1x.c