]> granicus.if.org Git - clang/commit
preprocessing: gcc supports #line 0. So, treat this
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 26 Jun 2012 21:19:20 +0000 (21:19 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 26 Jun 2012 21:19:20 +0000 (21:19 +0000)
commit540f9ae1023bba27052c742cd92d0b32361b28eb
tree534725adc591bad27c17131c0d7932c32a93e3f9
parent7bbf9d14cc582ee5e4047ff2dfe38afc2b3af84a
preprocessing: gcc supports #line 0. So, treat this
as a gcc supported extension with usual treatment
with -pedantic (warn) and -pedantic-errors (error).
// rdar://11550996

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159226 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/PPDirectives.cpp
test/Preprocessor/line-directive.c