diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-02-24 00:30:21 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-02-24 00:30:21 +0000 |
commit | 25cbd9ffd59ce575761295f094031daf1afda881 (patch) | |
tree | 567c68eabbfa36d7161df72fab06aa8ea8f508b9 /lib/Analysis/GRExprEngine.cpp | |
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
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions