summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2012-12-03 14:32:13 +0000
committerEdwin Vane <edwin.vane@intel.com>2012-12-03 14:32:13 +0000
commit0254657c2d8c3c70e81b19c010197941d9a10f1e (patch)
tree2595ecbd67bab9eb28f2aa83393058b3ffcbf1e1 /clang-tools-extra
parentcba0f3dd7cbd5290c04cb82dae8764559611672c (diff)
downloadbcm5719-llvm-0254657c2d8c3c70e81b19c010197941d9a10f1e.tar.gz
bcm5719-llvm-0254657c2d8c3c70e81b19c010197941d9a10f1e.zip
Test commit: reformat comment.
llvm-svn: 169126
Diffstat (limited to 'clang-tools-extra')
-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