[PATCH] D150602: [clang-tidy] Move formatDereference to FixitHintUtils
Piotr Zegar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 23 11:03:47 PDT 2023
PiotrZSL accepted this revision.
PiotrZSL added a comment.
This revision is now accepted and ready to land.
LGTM, code compiles locally, restarted CI job (maybe will pass).
Add [NFC] to change title before committing as this changes does not impact functionality.
================
Comment at: clang-tools-extra/clang-tidy/utils/FixItHintUtils.cpp:230
+// syntactically.
+bool needParensAfterUnaryOperator(const Expr &ExprNode) {
+ if (isa<clang::BinaryOperator>(&ExprNode) ||
----------------
NOTE: make this internal function `static` so it would have internal linkage.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150602/new/
https://reviews.llvm.org/D150602
More information about the cfe-commits
mailing list