[PATCH] D134103: [clang-format] Skip token annotation in passes that don't need it

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 17 06:15:48 PDT 2022


HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Format/Format.cpp:3276
       Passes.emplace_back([&](const Environment &Env) {
-        return BracesInserter(Env, Expanded).process();
+        return BracesInserter(Env, Expanded).process(/*SkipsAnnotation=*/true);
       });
----------------
Superfluous s here and in all comments. :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134103



More information about the cfe-commits mailing list