summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/member-location.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Whenever we complain about a failed initialization of a function orDouglas Gregor2010-04-221-1/+4
| | | | | | | | | | | | | | | | | method parameter, provide a note pointing at the parameter itself so the user does not have to manually look for the function/method being called and match up parameters to arguments. For example, we now get: t.c:4:5: warning: incompatible pointer types passing 'long *' to parameter of type 'int *' [-pedantic] f(long_ptr); ^~~~~~~~ t.c:1:13: note: passing argument to parameter 'x' here void f(int *x); ^ llvm-svn: 102038
* Switch initialization of parameters in a call over toDouglas Gregor2009-12-221-1/+1
| | | | | | | | | | | InitializationSequence (when a FunctionDecl is present). This required a few small fixes to initialization sequences: - Make sure to use the adjusted parameter type for initialization of function parameters. - Implement transparent union calling semantics in C llvm-svn: 91902
* 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
* PR4103: improve source location information for members of the current Eli Friedman2009-04-291-0/+5
class. This isn't perfect, but it's a big improvement over not having any location information. llvm-svn: 70390
OpenPOWER on IntegriCloud