[PATCH] D121907: [clang-format] Use an enum for context types.

sstwcw via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 17 05:28:27 PDT 2022


sstwcw created this revision.
sstwcw added a reviewer: clang-format.
sstwcw added a project: clang-format.
Herald added a project: All.
sstwcw requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

We currently have all those fields in AnnotatingParser::Context.  They
are not inherited from the Context object for the parent scope.  They
are exclusive.  Now they are replaced with an enum.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121907

Files:
  clang/lib/Format/TokenAnnotator.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121907.416148.patch
Type: text/x-patch
Size: 6747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220317/5a29cd88/attachment-0001.bin>


More information about the cfe-commits mailing list