summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/stringize_skipped.c
Commit message (Collapse)AuthorAgeFilesLines
* [Preprocessor] Always discard body of #define if we failed to parse itIlya Biryukov2019-08-011-0/+5
Summary: Preivously we would only discard it if we failed to parse parameter lists. If we do not consume the body, parser sees tokens inside directive. In turn, this leads to spurious diagnostics and a crash in TokenBuffer, see the added tests. Reviewers: sammccall Reviewed By: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65517 llvm-svn: 367530
OpenPOWER on IntegriCloud