[cfe-commits] [clang-tools-extra] r169126 - /clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp
Edwin Vane
edwin.vane at intel.com
Mon Dec 3 06:32:13 PST 2012
Author: revane
Date: Mon Dec 3 08:32:13 2012
New Revision: 169126
URL: http://llvm.org/viewvc/llvm-project?rev=169126&view=rev
Log:
Test commit: reformat comment.
Modified:
clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp
Modified: clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp?rev=169126&r1=169125&r2=169126&view=diff
==============================================================================
--- clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp (original)
+++ clang-tools-extra/trunk/remove-cstr-calls/RemoveCStrCalls.cpp Mon Dec 3 08:32:13 2012
@@ -92,9 +92,9 @@
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)) {
More information about the cfe-commits
mailing list