summaryrefslogtreecommitdiff
path: root/test/SemaCXX/deprecated.cpp
Commit message (Collapse)AuthorAge
* Fix string-literal to char* conversion in overload resolution for C++11Ismail Pazarbasi2014-01-17
| | | | | | | | | | String literal to char* conversion is deprecated in C++03, and is removed in C++11. We still accept this conversion in C++11 mode as an extension, if we find it in the best viable function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199513 91177308-0d34-0410-b5e6-96231b3b80d8
* C++11: don't warn about the deprecated 'register' keyword if it's combined withRichard Smith2013-06-17
| | | | | | | an asm label. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184069 91177308-0d34-0410-b5e6-96231b3b80d8
* Add warning group -Wdeprecated-register for C++11 warning on 'register' beingRichard Smith2013-06-17
| | | | | | | deprecated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184068 91177308-0d34-0410-b5e6-96231b3b80d8
* Suppress the c++11 -Wdeprecated warning for 'register' if it is expanded from aRichard Smith2013-06-14
| | | | | | | macro defined in a system header. glibc uses it in macros, apparently. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184005 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some confusing diagnostic wording. s/implicit default/implicit/ if we'reRichard Smith2013-06-13
| | | | | | | not actually talking about a default constructor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183885 91177308-0d34-0410-b5e6-96231b3b80d8
* C++11: If a class has a user-declared copy operation or destructor, theRichard Smith2013-06-13
| | | | | | | | | implicit definition of a copy operation is deprecated. Add a warning for this to -Wdeprecated. This warning is disabled by default for now, pending investigation into how common this situation is. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183884 91177308-0d34-0410-b5e6-96231b3b80d8
* In C++11, promote access declaration diagnostic from warning to error. ThereRichard Smith2013-06-13
| | | | | | | doesn't seem to be any value in even adding a -W flag for this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183882 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -Wdeprecated warnings and fixits for things deprecated in C++11:Richard Smith2013-06-13
- 'register' storage class - dynamic exception specifications Only the former check is enabled by default for now (the latter might be quite noisy). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183881 91177308-0d34-0410-b5e6-96231b3b80d8