Douglas Gregor
ab6bc1d13e
Make the -Wc++11-compat warnings ignored by default, so we don't break
...
valid C++98/03 code. However, add these warnings to -Wall, for those
who obviously already like clean code.
llvm-svn: 142903
2011-10-25 03:07:45 +00:00
Richard Smith
7ab47734a2
Fix test: don't use __thread without a target triple.
...
llvm-svn: 141719
2011-10-11 21:51:31 +00:00
Richard Smith
4dd85d6fa1
Add a -Wc++0x-compat warning for C++11 keywords used as identifiers when in
...
C++98 mode. Only the first occurrence of each keyword will produce a warning.
llvm-svn: 141700
2011-10-11 19:57:52 +00:00
Douglas Gregor
83d61f914a
Add __char16_t and __char32_t as aliases for the C++0x char16_t and
...
char32_t, respectively, but which can also be used in C++98/03
mode. Fixes <rdar://problem/8418510>.
llvm-svn: 113813
2010-09-13 23:21:44 +00:00
Daniel Dunbar
8fbe78f6fc
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
...
- 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
2009-12-15 20:14:24 +00:00
Daniel Dunbar
a45cf5b6b0
Rename clang to clang-cc.
...
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
2009-03-24 02:24:46 +00:00
Chris Lattner
539007a78a
Add support for C++'0x keywords, patch by Doug Gregor
...
llvm-svn: 39897
2007-07-16 04:18:29 +00:00