summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/microsoft-cxx0x.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tweak diagnostic wording for init list narrowingAlp Toker2014-05-171-1/+1
| | | | | | | | | The conventional form is '<action> to silence this warning'. Also call the diagnostic an 'issue' rather than a 'message' because the latter term is more widely used with reference to message expressions. llvm-svn: 209052
* PR13433: In Microsoft mode, don't require function calls within decltypeRichard Smith2012-07-281-0/+14
| | | | | | | | | expressions to have complete return types (or accessible destructors). If the return type is required to be complete for some other reason (for instance, if it is needed by overload resolution), then it will still be required to be complete. This is apparently required in order to parse a MSVC11 header. llvm-svn: 160924
* Eli says this should check MicrosoftMode instead.Nico Weber2012-01-231-23/+0
| | | | | | Also change a || that I accidentally changed to && back to ||. llvm-svn: 148677
* In ms mode, a move assignment operator shouldn't mark a copy ctor as deleted.Nico Weber2012-01-231-0/+21
| | | | | | | | | | | | | MSVC2010's pair class has a move assignment operator but no explicit copy constructor, which makes it unusable without this change. For symmetry, let move copy constructors not mark the default assignment operator as deleted either. Both changes match cl.exe's behavior. Fixes pr11826. Also update the standard excerpt to point to the right paragraph. llvm-svn: 148675
* Switch to the C++11 warning flags in tests. David Blaikie2011-10-181-1/+1
| | | | | | Patch by Ahmed Charles! llvm-svn: 142340
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-1/+1
| | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
* Downgrade "err_init_list_variable_narrowing" into a warning in Microsoft ↵Francois Pichet2011-08-181-0/+10
mode even if c++0x is enabled. This necessary to parse MSVC code in C++0x mode. llvm-svn: 137904
OpenPOWER on IntegriCloud