summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/arrow-operator.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Wire up LookupMemberExpr to use the new TypoExpr.Kaelyn Takata2014-10-271-2/+3
| | | | | | | | This includes adding the new TypoExpr-based lazy typo correction to LookupMemberExprInRecord as an alternative to the existing eager typo correction. llvm-svn: 220698
* Add an error message with fixit hint for changing '.' to '->'.Kaelyn Uhrain2012-04-251-0/+28
| | | | | | | | | This is mainly for attempting to recover in cases where a class provides a custom operator-> and a '.' was accidentally used instead of '->' when accessing a member of the object returned by the current object's operator->. llvm-svn: 155580
* Fix infinite loop during error diagnostics. Fixes rdar://8875304.Argyrios Kyrtzidis2011-01-251-0/+13
| | | | llvm-svn: 124243
* When pretty-printing tag types, only print the tag if we're in C (andJohn McCall2010-03-101-1/+1
| | | | | | | | | | 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
* PR5520: Make sure to check whether the base type is complete before looking forEli Friedman2009-11-181-1/+4
| | | | | | operator->. llvm-svn: 89180
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-1/+1
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Look for overloaded arrow operators in base classes.Anders Carlsson2009-09-101-0/+22
llvm-svn: 81475
OpenPOWER on IntegriCloud