r351112 - NFC: Fix nits I missed before
Stephen Kelly via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 14 11:50:34 PST 2019
Author: steveire
Date: Mon Jan 14 11:50:34 2019
New Revision: 351112
URL: http://llvm.org/viewvc/llvm-project?rev=351112&view=rev
Log:
NFC: Fix nits I missed before
Modified:
cfe/trunk/lib/AST/ASTDumper.cpp
cfe/trunk/lib/AST/TextNodeDumper.cpp
Modified: cfe/trunk/lib/AST/ASTDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTDumper.cpp?rev=351112&r1=351111&r2=351112&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTDumper.cpp (original)
+++ cfe/trunk/lib/AST/ASTDumper.cpp Mon Jan 14 11:50:34 2019
@@ -400,7 +400,7 @@ namespace {
dumpStmt(TA.getAsExpr());
}
void VisitPackTemplateArgument(const TemplateArgument &TA) {
- for (const auto& TArg : TA.pack_elements())
+ for (const auto &TArg : TA.pack_elements())
dumpTemplateArgument(TArg);
}
Modified: cfe/trunk/lib/AST/TextNodeDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TextNodeDumper.cpp?rev=351112&r1=351111&r2=351112&view=diff
==============================================================================
--- cfe/trunk/lib/AST/TextNodeDumper.cpp (original)
+++ cfe/trunk/lib/AST/TextNodeDumper.cpp Mon Jan 14 11:50:34 2019
@@ -70,9 +70,8 @@ void TextNodeDumper::Visit(const Templat
if (R.isValid())
dumpSourceRange(R);
- if (From) {
+ if (From)
dumpDeclRef(From, Label);
- }
ConstTemplateArgumentVisitor<TextNodeDumper>::Visit(TA);
}
More information about the cfe-commits
mailing list