summaryrefslogtreecommitdiff
path: root/lib/Lex/PreprocessorLexer.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2017-12-04 22:28:45 +0000
committerHans Wennborg <hans@hanshq.net>2017-12-04 22:28:45 +0000
commit10af36fbec2ea78e72017cfffe2678235b149682 (patch)
treefa39ea606288d00da3c91d8847c33def8ea5be07 /lib/Lex/PreprocessorLexer.cpp
parent30ba5010aac14b017e0df78fdc855ffa888ea325 (diff)
downloadclang-10af36fbec2ea78e72017cfffe2678235b149682.tar.gz
Correctly handle line table entries without filenames during AST serialization
The current code would hit an assert in ASTWriter when trying to write out the filename for a line table entry that didn't have any. Fix this by allowing the -1 sentinel value to round-trip through serialization. Differential revision: https://reviews.llvm.org/D40746 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessorLexer.cpp')
0 files changed, 0 insertions, 0 deletions