diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-18 19:21:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-18 19:21:10 +0000 |
commit | ddb7191920f657397c27bc345037e9a92a232e6d (patch) | |
tree | ec3e48d58f5bc48bab4cef592aa4a941e683c19c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 57a09cfcbcf789a342d68ffa538f240d47bde4ab (diff) | |
download | bcm5719-llvm-ddb7191920f657397c27bc345037e9a92a232e6d.tar.gz bcm5719-llvm-ddb7191920f657397c27bc345037e9a92a232e6d.zip |
Next step toward making string diagnostics correct: handle
escapes in the string for subtoken positioning. This gives
us working examples like:
t.m:5:16: warning: field width should have type 'int', but argument has type 'unsigned int'
printf("\n\n%*d", (unsigned) 1, 1);
^ ~~~~~~~~~~~~
where before the caret pointed two spaces to the left.
llvm-svn: 64940
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions