]> granicus.if.org Git - clang/commit
introduce a new -fheinous-gnu-extensions flag that enables really
authorChris Lattner <sabre@nondot.org>
Fri, 13 Mar 2009 17:38:01 +0000 (17:38 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Mar 2009 17:38:01 +0000 (17:38 +0000)
commit810f6d5d6223adaab0ccf0139f40de6484ad1bb5
tree8c2283a32d43ceaaabee09ca1e692e300b905690
parentecdd84147c0765caa999ddc22dde25b42712bb4d
introduce a new -fheinous-gnu-extensions flag that enables really
really horrible extensions that are disabled by default but that can
be accepted by -fheinous-gnu-extensions (but which always emit a
warning when enabled).

As our first instance of this, implement PR3788/PR3794, which allows
non-lvalues in inline asms in contexts where lvalues are required. bleh.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66910 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/clang.cpp
include/clang/Basic/DiagnosticSemaKinds.def
include/clang/Basic/LangOptions.h
lib/CodeGen/CGStmt.cpp
lib/Sema/SemaStmt.cpp
test/Sema/heinous-extensions-off.c [new file with mode: 0644]
test/Sema/heinous-extensions-on.c [new file with mode: 0644]