commit | 25cbd9ffd59ce575761295f094031daf1afda881 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Feb 24 00:30:21 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Feb 24 00:30:21 2009 +0000 |
tree | 567c68eabbfa36d7161df72fab06aa8ea8f508b9 | |
parent | b76fe917c2c6bb320ff6832ec77c88c9d898d6d7 [diff] |
PTH: When emitting tokens for literals with cached spellings, change the token size to that of the *cleaned* spelling. This way 'getSpelling()' for literals in the Preprocessor just works and doesn't read beyond the bounds of the cached spelling buffer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65354 91177308-0d34-0410-b5e6-96231b3b80d8