summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/conversion-delete-expr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor places which perform contextual implicit conversions to go through aRichard Smith2013-05-211-12/+12
| | | | | | | | | | | | | common function. The C++1y contextual implicit conversion rules themselves are not yet implemented, however. This also fixes a subtle bug where template instantiation context notes were dropped for diagnostics coming from conversions for integral constant expressions -- we were implicitly slicing a SemaDiagnosticBuilder into a DiagnosticBuilder when producing these diagnostics, and losing their context notes in the process. llvm-svn: 182406
* 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-3/+3
| | | | | | | | | | 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
* 1) don't do overload resolution in selecting conversionFariborz Jahanian2009-09-151-4/+3
| | | | | | | | to pointer function for delete expression. 2) Treat type conversion function and its 'const' version as identical in building the visible conversion list. llvm-svn: 81930
* Perform overload resolution when selecting a pointer conversionFariborz Jahanian2009-09-151-18/+17
| | | | | | | function for delete of a class expression and issue good diagnostic when result is ambiguous. llvm-svn: 81870
* Removed couple of FIXME comments from test case.Fariborz Jahanian2009-09-141-2/+2
| | | | llvm-svn: 81774
* More work toward having an access method for visibleFariborz Jahanian2009-09-121-2/+30
| | | | | | conversion functions. llvm-svn: 81618
* Patch to build visible conversion function list lazily and make its Fariborz Jahanian2009-09-111-0/+83
first use in calling the conversion function on delete statements. llvm-svn: 81576
OpenPOWER on IntegriCloud