summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/static-assert.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Produce more detailed diagnostics when static_assert condition is not an ICE.Richard Smith2011-12-141-3/+2
| | | | llvm-svn: 146607
* 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
* When pretty-printing tag types, only print the tag if we're in C (andJohn McCall2010-03-101-2/+2
| | | | | | | | | | therefore not creating ElaboratedTypes, which are still pretty-printed with the written tag). Most of these testcase changes were done by script, so don't feel too sorry for my fingers. llvm-svn: 98149
* 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
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Handle static_asserts when instantiating structs.Anders Carlsson2009-03-151-2/+8
| | | | llvm-svn: 67031
* Handle dependent types/exprs in static_assert expressions.Anders Carlsson2009-03-141-0/+9
| | | | llvm-svn: 66997
* More static_assert work. Check that the assert expr is valid and show an ↵Anders Carlsson2009-03-141-0/+15
error if it's false. Create the declaration and add it to the current context. llvm-svn: 66995
OpenPOWER on IntegriCloud