aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-25 18:23:36 +0000
committerChris Lattner <sabre@nondot.org>2009-05-25 18:23:36 +0000
commit12b97ff9ce1412e388444f03049bfa6ad1bb5eb9 (patch)
treeba0e868131b16a6bfbef8ccfa214d54394ae4c77 /lib/CodeGen/CodeGenModule.h
parent9b82ce9047dabe36c4d389400f3020badcddfa51 (diff)
tweak non-null check to put the caret on the function, but underline the
argument. This avoids the argument from being silenced when the argument is the NULL macro, which is defined in a system header. This also makes the output a bit nicer, e.g.: t.c:8:3: warning: null passed to a callee which requires a non-null argument func1(NULL, cp2, i1); ^ ~~~~ vs something like: t.c:8:10: warning: argument is null where non-null is required func1(NULL, cp2, i1); ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions