diff options
Diffstat (limited to 'clang/lib/Tooling/ASTDiff/ASTDiff.cpp')
-rw-r--r-- | clang/lib/Tooling/ASTDiff/ASTDiff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Tooling/ASTDiff/ASTDiff.cpp b/clang/lib/Tooling/ASTDiff/ASTDiff.cpp index d4c67020304..f25136b1ae6 100644 --- a/clang/lib/Tooling/ASTDiff/ASTDiff.cpp +++ b/clang/lib/Tooling/ASTDiff/ASTDiff.cpp @@ -138,7 +138,7 @@ struct PreorderVisitor : public RecursiveASTVisitor<PreorderVisitor> { 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; |