[cfe-commits] r56078 - /cfe/trunk/lib/Parse/ParseStmt.cpp

Eli Friedman eli.friedman at gmail.com
Wed Sep 10 17:01:36 PDT 2008

On Wed, Sep 10, 2008 at 4:46 PM, Argiris Kirtzidis <akyrtzi at gmail.com> wrote:
> Author: akirtzidis
> Date: Wed Sep 10 18:46:08 2008
> New Revision: 56078
> URL: http://llvm.org/viewvc/llvm-project?rev=56078&view=rev
> Log:
> -getLang().C99 is true in C++ too, remove the use of the C99orCXX variable.

?!?!  This is completely, utterly wrong.  The fact that C99 is defined
for C++ is just an bug in InitializeLanguageStandard in clang.cpp.
C++ and C99 are distinct standards, and abusing this is just

Would you mind backing this out, and fixing InitializeLanguageStandard?


More information about the cfe-commits mailing list