diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-08-23 19:56:39 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-08-23 19:56:39 +0000 |
commit | e5cdfe0ea82a4f97d01175d67ac1cb6b87d0a56e (patch) | |
tree | 6b046baae6c81b76060f4a83a091b2f87e04e58f /test/Index/werror.c | |
parent | 29cf62cecf5ac6fcad53dcd300c3b5c90dfeea77 (diff) |
Merging r311330:
------------------------------------------------------------------------
r311330 | ibiryukov | 2017-08-21 05:03:08 -0700 (Mon, 21 Aug 2017) | 16 lines
Fixed a crash on replaying Preamble's PP conditional stack.
Summary:
The crash occurs when the first token after a preamble is a macro
expansion.
Fixed by moving replayPreambleConditionalStack from Parser into
Preprocessor. It is now called right after the predefines file is
processed.
Reviewers: erikjv, bkramer, klimek, yvvan
Reviewed By: bkramer
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D36872
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@311591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/werror.c')
0 files changed, 0 insertions, 0 deletions