[PATCH] D69164: [clang-format] fix regression recognizing casts in Obj-C calls

Ronald Wampler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 18 07:23:18 PDT 2019


rdwampler added inline comments.


================
Comment at: lib/Format/TokenAnnotator.cpp:1612
+                          Keywords.kw_final) ||
+        isCpp11AttributeSpecifier(*Tok.Next))
       return false;
----------------
I think the issue r373922 was fixing is only related to the `delete`. Can this check be move further up where we explicitly check if the token is the delete keyword? 



Repository:
  rC Clang

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

https://reviews.llvm.org/D69164





More information about the cfe-commits mailing list