[PATCH] D28772: [Preprocessor] Fix incorrect token caching that occurs when lexing _Pragma in macro argument pre-expansion mode when skipping a function body

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 07:00:41 PST 2017


arphaman updated this revision to Diff 87801.
arphaman added a comment.

Sorry about the delay.
As per Richard's suggestion, the updated patch now makes the `_Pragma` parser responsible for initiating the removal of cached tokens.


Repository:
  rL LLVM

https://reviews.llvm.org/D28772

Files:
  include/clang/Lex/Preprocessor.h
  lib/Lex/PPCaching.cpp
  lib/Lex/Pragma.cpp
  test/CodeCompletion/pragma-macro-token-caching.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28772.87801.patch
Type: text/x-patch
Size: 4744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170209/6a3c52a6/attachment.bin>


More information about the cfe-commits mailing list