summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/cxx0x_keyword_as_cxx98.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Tests] Add explicit -std=lang option to a number of tests.Yunzhong Gao2015-08-011-1/+1
| | | | | | | | | | | This patch should not change the test results, but it is useful if clang's default C++ language is ever changed from gnu++98. Patch by: Charles Li http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150727/134667.html llvm-svn: 243819
* Make the -Wc++11-compat warnings ignored by default, so we don't breakDouglas Gregor2011-10-251-1/+1
| | | | | | | valid C++98/03 code. However, add these warnings to -Wall, for those who obviously already like clean code. llvm-svn: 142903
* Fix test: don't use __thread without a target triple.Richard Smith2011-10-111-3/+3
| | | | llvm-svn: 141719
* Add a -Wc++0x-compat warning for C++11 keywords used as identifiers when inRichard Smith2011-10-111-2/+35
| | | | | | C++98 mode. Only the first occurrence of each keyword will produce a warning. llvm-svn: 141700
* Add __char16_t and __char32_t as aliases for the C++0x char16_t andDouglas Gregor2010-09-131-1/+2
| | | | | | | char32_t, respectively, but which can also be used in C++98/03 mode. Fixes <rdar://problem/8418510>. llvm-svn: 113813
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Add support for C++'0x keywords, patch by Doug GregorChris Lattner2007-07-161-0/+2
llvm-svn: 39897
OpenPOWER on IntegriCloud