summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/expression-traits.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DR616, and part of P0135R1: member access (or pointer-to-member access) on aRichard Smith2016-12-031-1/+1
| | | | | | | temporary produces an xvalue, not a prvalue. Support this by materializing the temporary prior to performing the member access. llvm-svn: 288563
* PR17052 / DR1560 (+DR1550): In a conditional expression between a glvalue and aRichard Smith2014-01-271-8/+7
| | | | | | | throw-expression, the result is also a glvalue and isn't unnecessarily coerced to a prvalue. llvm-svn: 200189
* Bound member function diagnostic - suggest no-args calls and note overload ↵David Blaikie2013-06-041-2/+2
| | | | | | | | | | candidates Still missing cases for templates, but this is a step in the right direction. Also omits suggestions that would be ambiguous (eg: void func(int = 0); + void func(float = 0); func;) llvm-svn: 183173
* Fixed plausible overloads location.Abramo Bagnara2011-11-151-2/+2
| | | | llvm-svn: 144700
* Catch placeholder types in DefaultLvalueConversionJohn McCall2011-10-111-5/+5
| | | | | | | | | | | and DefaultFunctionArrayLvalueConversion. To prevent significant regression for should-this-be-a-call fixits, and to repair some such regression from the introduction of bound member placeholders, make those placeholder checks try to build calls appropriately. Harden the build-a-call logic while we're at it. llvm-svn: 141738
* De-Unicode-ify.NAKAMURA Takumi2011-08-121-15/+15
| | | | llvm-svn: 137430
* Make yet another placeholder type, this one marking that an expression is a ↵John McCall2011-04-261-12/+12
| | | | | | | | | | | bound member function, i.e. something of the form 'x.f' where 'f' is a non-static member function. Diagnose this in the general case. Some of the new diagnostics are probably worse than the old ones, but we now get this right much more universally, and there's certainly room for improvement in the diagnostics. llvm-svn: 130239
* t/clang/expr-traitsJohn Wiegley2011-04-251-0/+620
Patch authored by David Abrahams. These two expression traits (__is_lvalue_expr, __is_rvalue_expr) are used for parsing code that employs certain features of the Embarcadero C++ compiler. llvm-svn: 130122
OpenPOWER on IntegriCloud