r340357 - Add space to TemplateArgument dump
Richard Trieu via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 21 15:55:27 PDT 2018
Author: rtrieu
Date: Tue Aug 21 15:55:26 2018
New Revision: 340357
URL: http://llvm.org/viewvc/llvm-project?rev=340357&view=rev
Log:
Add space to TemplateArgument dump
Add a missing space when dumping a template argument which is a template
expansion. Found during debugging so no test.
Modified:
cfe/trunk/lib/AST/ASTDumper.cpp
Modified: cfe/trunk/lib/AST/ASTDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTDumper.cpp?rev=340357&r1=340356&r2=340357&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTDumper.cpp (original)
+++ cfe/trunk/lib/AST/ASTDumper.cpp Tue Aug 21 15:55:26 2018
@@ -997,7 +997,7 @@ void ASTDumper::dumpTemplateArgument(con
A.getAsTemplate().dump(OS);
break;
case TemplateArgument::TemplateExpansion:
- OS << " template expansion";
+ OS << " template expansion ";
A.getAsTemplateOrTemplatePattern().dump(OS);
break;
case TemplateArgument::Expression:
More information about the cfe-commits
mailing list