summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx98-compat.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a -Wc++98-compat warning for friend functions of class templates which wouldRichard Smith2011-10-191-0/+7
| | | | | | be implicitly instantiated (resulting in a redefinition) in C++98. llvm-svn: 142468
* -Wc++98-compat: warn if a SFINAE substitution in C++11 suppresses an accessRichard Smith2011-10-191-0/+9
| | | | | | control diagnostic. llvm-svn: 142463
* -Wc++98-compat and -Wc++98-compat-pedantic warnings for Sema, part 2.Richard Smith2011-10-181-2/+12
| | | | llvm-svn: 142426
* -Wc++98-compat and -Wc++98-compat-pedantic warnings for Sema, part 1.Richard Smith2011-10-181-1/+61
| | | | llvm-svn: 142419
* Add -Wc++98-compat warnings for uses of the new keywords 'alignof', 'char16_t',Richard Smith2011-10-171-0/+10
| | | | | | 'char32_t', 'constexpr', 'decltype', 'noexcept', 'nullptr' and 'static_assert'. llvm-svn: 142302
* Add -Wc++98-compat warning for deduced 'auto' type specifier.Richard Smith2011-10-151-0/+3
| | | | llvm-svn: 142057
* Implement -Wc++98-compat warnings for the parser.Richard Smith2011-10-151-1/+60
| | | | llvm-svn: 142056
* -Wc++98-compat warnings for the lexer.Richard Smith2011-10-151-0/+17
| | | | | | | | This also adds a -Wc++98-compat-pedantic for warning on constructs which would be diagnosed by -std=c++98 -pedantic (that is, it warns even on C++11 features which we enable by default, with no warning, in C++98 mode). llvm-svn: 142034
* -Wc++98-compat: warn on C++11 attributes and alignas.Richard Smith2011-10-141-1/+4
| | | | llvm-svn: 141999
* Test for r141985.Richard Smith2011-10-141-0/+10
| | | | llvm-svn: 141998
* Revert the -Wc++98-compat flag because dgregor doesn't like it.Jeffrey Yasskin2011-10-141-10/+0
| | | | llvm-svn: 141921
* Convert newly-added test from -std=c++0x to -std=c++11.Richard Smith2011-10-131-1/+1
| | | | llvm-svn: 141904
* Implement the first piece of a -Wc++98-compat flag so that people can build inJeffrey Yasskin2011-10-131-0/+10
C++11 mode but keep their sources compatible with C++98. This patch implements the -Wc++98-compat-variadic-templates sub-flag and -Wc++98-compat to include it. llvm-svn: 141898
OpenPOWER on IntegriCloud