]> granicus.if.org Git - clang/commit
Get rid of some useless uses of NoExtensions. The philosophy here is
authorEli Friedman <eli.friedman@gmail.com>
Tue, 28 Apr 2009 00:51:18 +0000 (00:51 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 28 Apr 2009 00:51:18 +0000 (00:51 +0000)
commitf01fdff97b245caac98100d232c760b4d0531411
treeec640f32eeefc2216a0abd4b8257cf6879a823be
parentb0156ea412df1c2eb12d620054a404da71784cf5
Get rid of some useless uses of NoExtensions.  The philosophy here is
that if we're going to print an extension warning anyway,
there's no point to changing behavior based on NoExtensions: it will
only make error recovery worse.

Note that this doesn't cause any behavior change because NoExtensions
isn't used by the current front-end.  I'm still considering what to do about
the remaining use of NoExtensions in IdentifierTable.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70273 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Lexer.cpp
lib/Lex/LiteralSupport.cpp
lib/Parse/ParseStmt.cpp
lib/Sema/SemaDecl.cpp