summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_feature_rtti.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Turn off __has_feature(cxx_rtti) when -fno-rtti-data is presentReid Kleckner2015-08-131-0/+1
| | | | | | | | | | | -fno-rtti-data makes it so that vtables emitted in the current TU lack RTTI data. This means that dynamic_cast usually fails at runtime. Users of the existing cxx_rtti feature expect all of RTTI to work, not just some of it. Chromium bug for context: http://crbug.com/518191 llvm-svn: 244922
* tests: Use %clangxx when using driver for C++, in case C++ support is disabled.Daniel Dunbar2010-06-291-2/+2
| | | | llvm-svn: 107153
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-151-2/+2
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Rename has_feature(rtti) to has_feature(cxx_rtti) for clarity.Ted Kremenek2009-12-031-1/+1
| | | | llvm-svn: 90376
* Add FileCheck test for '__has_feature(rtti)'.Ted Kremenek2009-12-031-0/+11
llvm-svn: 90373
OpenPOWER on IntegriCloud