summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/eof-include.c
Commit message (Collapse)AuthorAgeFilesLines
* Factor out repeated code parsing and concatenating header-names fromRichard Smith2019-03-191-2/+2
| | | | | | | | | | | tokens. We now actually form an angled_string_literal token for a header name by concatenation rather than just working out what its contents would be. This substantially simplifies downstream processing and is necessary for C++20 header unit imports. llvm-svn: 356433
* Fix buffer overflow in LexerKostya Serebryany2015-05-041-0/+8
Summary: Fix PR22407, where the Lexer overflows the buffer when parsing #include<\ (end of file after slash) Test Plan: Added a test that will trigger in asan build. This case is also covered by the clang-fuzzer bot. Reviewers: rnk Reviewed By: rnk Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D9489 llvm-svn: 236466
OpenPOWER on IntegriCloud