summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class/class.friend/p6.cpp
Commit message (Collapse)AuthorAgeFilesLines
* C++11: don't warn about the deprecated 'register' keyword if it's combined withRichard Smith2013-06-171-1/+1
| | | | | | an asm label. llvm-svn: 184069
* Add -Wdeprecated warnings and fixits for things deprecated in C++11:Richard Smith2013-06-131-0/+4
| | | | | | | | | - 'register' storage class - dynamic exception specifications Only the former check is enabled by default for now (the latter might be quite noisy). llvm-svn: 183881
* Parsing support for thread_local and _Thread_local. We give them the sameRichard Smith2013-04-121-2/+10
| | | | | | semantics as __thread for now. llvm-svn: 179424
* 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
* Switch diagnostic text from "C++0x" over to "C++11".Douglas Gregor2011-10-121-1/+1
| | | | | | | | We'd also like for "C++11" or "c++11" to be used for the warning groups, but without removing the old warning flags. Patches welcome; I've run out of time to work on this today. llvm-svn: 141801
* PR10458: Finesse behaviour of C++0x features when in pre-0x mode. Accept ↵Richard Smith2011-09-041-1/+1
| | | | | | for-range and auto with an ExtWarn, and produce a -Wc++0x-compat warning in C++98 mode when auto is used as a storage class. llvm-svn: 139102
* 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
* First pass at friend semantics.John McCall2009-08-061-0/+10
llvm-svn: 78274
OpenPOWER on IntegriCloud