[PATCH] D36458: Fix crash when current lexer is nullptr

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 18 05:38:56 PDT 2017


ilya-biryukov added a comment.

Here's an alternative fix that moves the `replay...` call into `Preprocessor`: https://reviews.llvm.org/D36872.
It also fixes the crash and doesn't add invalid compiler errors about non-matching `#ifdefs`.


https://reviews.llvm.org/D36458





More information about the cfe-commits mailing list