summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-casting.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Detect when the string "<::" is found in code after a cast or template name ↵Richard Smith2011-04-141-2/+32
| | | | | | | | and is interpreted as "[:" because of the digraph "<:". When found, give an error with a fix-it to add whitespace between the "<" and "::". Patch by Richard Trieu! Plus a small tweak from me to deal with one of the tokens coming from a macro. llvm-svn: 129540
* Fix a tentative-parse error with unqualified template ids in cast expressions.John McCall2010-04-301-3/+6
| | | | | | Also resolve a long-working FIXME in the test case I modified. llvm-svn: 102688
* 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-2/+2
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* C++ casts, (static_cast. dynamic_cast, etc.) can have postfix-expression pieces.Argyrios Kyrtzidis2008-08-161-0/+5
| | | | llvm-svn: 54850
* update testsChris Lattner2007-07-121-1/+0
| | | | llvm-svn: 39786
* This testcase bus errors because semantics analysis of these operators isn't ↵Chris Lattner2007-06-081-0/+1
| | | | | | implemented. llvm-svn: 39612
* add a testcase for c++ casting operators, by BillChris Lattner2007-01-231-0/+31
llvm-svn: 39285
OpenPOWER on IntegriCloud