Skip to content
Commit 4a1049c8 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[preprocessor] In Preprocessor::CachingLex() check whether there were more tokens

cached during the non-cached lex, otherwise we are going to drop them.

Fixes a bogus "_Pragma takes a parenthesized string literal" error when
expanding consecutive _Pragmas in a macro argument.

Part of rdar://11168596

llvm-svn: 153994
parent b73bc9af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment