[PATCH] D68481: [clang-format] [PR27004] omits leading space for noexcept when formatting operator delete()

Mitchell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 4 14:30:56 PDT 2019


mitchell-stellar requested changes to this revision.
mitchell-stellar added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1617
+    if (Tok.Next->isOneOf(tok::kw_noexcept, tok::kw_volatile, tok::kw_const,
+                          tok::kw_throw, tok::l_square, tok::arrow))
+      return false;
----------------
What about the "override" decorator? Would that apply here too?


Repository:
  rC Clang

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

https://reviews.llvm.org/D68481





More information about the cfe-commits mailing list