[PATCH] D136100: [clang-format] Do not parse certain characters in pragma directives

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 07:45:09 PDT 2022


jhuber6 added a comment.

In D136100#3863427 <https://reviews.llvm.org/D136100#3863427>, @MyDeveloperDay wrote:

> Pretty interesting, it looks ok from what I can tell, let the others take a look

Thanks, I was originally hoping I could avoid adding a new boolean for `InPragma` by asking something like `Line.startswith(tok::pp_pragma)` but that didn't seem to work.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136100/new/

https://reviews.llvm.org/D136100



More information about the cfe-commits mailing list