llvm-project/clang/test/CXX/dcl.decl/dcl.meaning
Douglas Gregor 4f4946aaaa Whenever we complain about a failed initialization of a function or
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
2010-04-22 00:20:18 +00:00
..
dcl.array Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dcl.fct Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dcl.fct.default Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
dcl.mptr When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
dcl.ref Warn about non-aggregate classes with no user-declared constructors 2010-04-15 00:00:53 +00:00