r308733 - Fix tuple construction compiler error from r308731
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 21 05:57:40 PDT 2017
Author: arphaman
Date: Fri Jul 21 05:57:40 2017
New Revision: 308733
URL: http://llvm.org/viewvc/llvm-project?rev=308733&view=rev
Log:
Fix tuple construction compiler error from r308731
Modified:
cfe/trunk/lib/Tooling/ASTDiff/ASTDiff.cpp
Modified: cfe/trunk/lib/Tooling/ASTDiff/ASTDiff.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/ASTDiff/ASTDiff.cpp?rev=308733&r1=308732&r2=308733&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/ASTDiff/ASTDiff.cpp (original)
+++ cfe/trunk/lib/Tooling/ASTDiff/ASTDiff.cpp Fri Jul 21 05:57:40 2017
@@ -138,7 +138,7 @@ struct PreorderVisitor : public Recursiv
Parent = MyId;
++Id;
++Depth;
- return {MyId, Root.getNode(MyId).Parent};
+ return std::make_tuple(MyId, Root.getNode(MyId).Parent);
}
void PostTraverse(std::tuple<NodeId, NodeId> State) {
NodeId MyId, PreviousParent;
More information about the cfe-commits
mailing list