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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits