diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-18 18:52:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-18 18:52:52 +0000 |
commit | ec396b5114678538362e6e4db2d3cede2a8e2442 (patch) | |
tree | 09c7dbe9b5aa953e0eb2238033976ffb6617241c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 9959eee95d5a1eb70840d8448c08ee8f306dd1fb (diff) | |
download | bcm5719-llvm-ec396b5114678538362e6e4db2d3cede2a8e2442.tar.gz bcm5719-llvm-ec396b5114678538362e6e4db2d3cede2a8e2442.zip |
Fix some issues handling sub-token locations that come from macro expansions.
We now emit:
t.m:6:15: warning: field width should have type 'int', but argument has type 'unsigned int'
printf(STR, (unsigned) 1, 1);
^ ~~~~~~~~~~~~
t.m:3:18: note: instantiated from:
#define STR "abc%*ddef"
^
which has the correct location in the string literal in the note line.
llvm-svn: 64936
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions