summaryrefslogtreecommitdiff
path: root/test/CXX/expr/expr.const/p5-0x.cpp
Commit message (Collapse)AuthorAge
* The 'constexpr implies const' rule for non-static member functions is gone inRichard Smith2013-04-21
| | | | | | | | | | C++1y, so stop adding the 'const' there. Provide a compatibility warning for code relying on this in C++11, with a fix-it hint. Update our lazily-written tests to add the const, except for those ones which were testing our implementation of this rule. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179969 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach Clang parser to reject C++11 attributes that appertain to declaration ↵Michael Han2012-11-06
| | | | | | | | | | | specifiers. We don't support any C++11 attributes that appertain to declaration specifiers so reject the attributes in parser until we support them; this also conforms to what g++ 4.8 is doing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167481 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more testing for r149776.Richard Smith2012-02-08
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150061 91177308-0d34-0410-b5e6-96231b3b80d8