summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2019-01-18 22:14:59 +0000
committerStephen Kelly <steveire@gmail.com>2019-01-18 22:14:59 +0000
commitf4129fd58b1d859f3e1f3a5b1155e0d82f2f80bd (patch)
treee33d8d1545b77f08ef7c39c006a8e39533d8ed15 /clang/lib
parentbbd08cce792400302e3f5cf35d3d80cd12e2531f (diff)
downloadbcm5719-llvm-f4129fd58b1d859f3e1f3a5b1155e0d82f2f80bd.tar.gz
bcm5719-llvm-f4129fd58b1d859f3e1f3a5b1155e0d82f2f80bd.zip
[ASTDump] NFC: Remove non-needed braces
llvm-svn: 351603
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/ASTDumper.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/AST/ASTDumper.cpp b/clang/lib/AST/ASTDumper.cpp
index d13651931f2..678a6b5fc85 100644
--- a/clang/lib/AST/ASTDumper.cpp
+++ b/clang/lib/AST/ASTDumper.cpp
@@ -1242,12 +1242,11 @@ void ASTDumper::VisitObjCMethodDecl(const ObjCMethodDecl *D) {
if (D->isVariadic())
OS << " variadic";
- if (D->isThisDeclarationADefinition()) {
+ if (D->isThisDeclarationADefinition())
dumpDeclContext(D);
- } else {
+ else
for (const ParmVarDecl *Parameter : D->parameters())
dumpDecl(Parameter);
- }
if (D->hasBody())
dumpStmt(D->getBody());
OpenPOWER on IntegriCloud