diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-26 15:36:03 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-26 15:36:03 +0000 |
commit | c41d94eb1ab07abc3ad3304b1e9ec6ea1bb13600 (patch) | |
tree | dd88b6e7495e738d14ab78ef002c6b4a4f344a40 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | e696ebbd70b3dab3b4526699545baf50423a3b6e (diff) | |
download | bcm5719-llvm-c41d94eb1ab07abc3ad3304b1e9ec6ea1bb13600.tar.gz bcm5719-llvm-c41d94eb1ab07abc3ad3304b1e9ec6ea1bb13600.zip |
Clean up the C++0x __has_feature tests. Specifically:
- Don't publicize a C++0x feature through __has_feature if we aren't
in C++0x mode (even if the feature is available only with a
warning).
- "auto" is not implemented well enough for its __has_feature to be
turned on.
- Fix the test of C++0x __has_feature to actually test what we're
trying to test. Searching for the substring "foo" when our options
are "foo" and "no_foo" doesn't work :)
llvm-svn: 124291
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions