diff options
| author | Hans Wennborg <hans@hanshq.net> | 2017-12-04 22:28:45 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2017-12-04 22:28:45 +0000 |
| commit | 1448736e49dbc0978ba6ba8ed2ce66acf23d62f6 (patch) | |
| tree | ae073d4712db7e1ea65cb991a149d718cd630d49 /clang/test/PCH/empty-with-headers.c | |
| parent | 361d4392cf5425bf560f88895f22df61b273fe4e (diff) | |
| download | bcm5719-llvm-1448736e49dbc0978ba6ba8ed2ce66acf23d62f6.tar.gz bcm5719-llvm-1448736e49dbc0978ba6ba8ed2ce66acf23d62f6.zip | |
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
llvm-svn: 319707
Diffstat (limited to 'clang/test/PCH/empty-with-headers.c')
0 files changed, 0 insertions, 0 deletions

