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 | 719e61573f27c11057ecfe0dd8f141621602c571 (patch) | |
tree | aaaa50387e651a10f865c907286f61b21ad3a70f /lib/CodeGen/CodeGenModule.cpp | |
parent | 6dcf63e920e003ea73cff332492dc11690b100a6 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions