[PATCH] D34256: [PR33394] Avoid lexing editor placeholders when running the preprocessor only

Ben Langmuir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 16:21:29 PDT 2017


benlangmuir added a comment.

I agree with not detecting these during PP-only, but there's nothing wrong with `<#>`.  It's either not a placeholder, or it's part of a placeholder like `<#>#>`, which is a placeholder containing the text ">".  Similarly, `<##` could be the start of an empty placeholder `<##>`.


Repository:
  rL LLVM

https://reviews.llvm.org/D34256





More information about the cfe-commits mailing list