[PATCH] D114519: [clang-format] [PR52595] clang-format does not recognize rvalue references to array

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 25 01:26:10 PST 2021


lichray added inline comments.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:317
     // void (&FunctionReference)(void);
     // void (^ObjCBlock)(void);
     bool MightBeFunctionType = !Contexts[Contexts.size() - 2].IsExpression;
----------------
Code does not match comment.


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

https://reviews.llvm.org/D114519



More information about the cfe-commits mailing list