summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp')
-rw-r--r--clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp b/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp
index 9b897c37942..7aa43b7db24 100644
--- a/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp
+++ b/clang-tools-extra/remove-cstr-calls/RemoveCStrCalls.cpp
@@ -92,9 +92,9 @@ static std::string getText(const SourceManager &SourceManager, const T &Node) {
return std::string(Text, End.second - Start.second);
}
-// Return true if expr needs to be put in parens when it is an
-// argument of a prefix unary operator, e.g. when it is a binary or
-// ternary operator syntactically.
+// Return true if expr needs to be put in parens when it is an argument of a
+// prefix unary operator, e.g. when it is a binary or ternary operator
+// syntactically.
static bool needParensAfterUnaryOperator(const Expr &ExprNode) {
if (dyn_cast<clang::BinaryOperator>(&ExprNode) ||
dyn_cast<clang::ConditionalOperator>(&ExprNode)) {
OpenPOWER on IntegriCloud