]> granicus.if.org Git - clang/commit
The Darwin kernel does not provide useful guard variable support.
authorJohn McCall <rjmccall@apple.com>
Fri, 18 Mar 2011 02:56:14 +0000 (02:56 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 18 Mar 2011 02:56:14 +0000 (02:56 +0000)
commit32096695c76033a6b0b1747c439f7378a11e8312
tree8503c570ab9429200c835f847c459782ed7a4912
parentb547eebdffb07dbc2a8239ca93b696b051096933
The Darwin kernel does not provide useful guard variable support.
Issue this as an IR-gen error;  it's not really worthwhile doing this
"right", i.e. in Sema, because IR gen knows a lot of tricks beyond
what the constant evaluator knows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127854 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CC1Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenCXX/apple-kext-guard-variable.cpp [new file with mode: 0644]