commit | 719e61573f27c11057ecfe0dd8f141621602c571 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Feb 18 19:21:10 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Feb 18 19:21:10 2009 +0000 |
tree | aaaa50387e651a10f865c907286f61b21ad3a70f | |
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