Author: hokein Date: Tue Apr 4 04:53:55 2017 New Revision: 299422 URL: http://llvm.org/viewvc/llvm-project?rev=299422&view=rev Log: Fix windows buildbot error.
Modified: clang-tools-extra/trunk/clang-rename/USRLocFinder.cpp Modified: clang-tools-extra/trunk/clang-rename/USRLocFinder.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-rename/USRLocFinder.cpp?rev=299422&r1=299421&r2=299422&view=diff ============================================================================== --- clang-tools-extra/trunk/clang-rename/USRLocFinder.cpp (original) +++ clang-tools-extra/trunk/clang-rename/USRLocFinder.cpp Tue Apr 4 04:53:55 2017 @@ -406,7 +406,7 @@ private: // Get the closest ancester which is a declaration of a given AST node. template <typename ASTNodeType> - const Decl *getClosestAncestorDecl(ASTNodeType Node) { + const Decl *getClosestAncestorDecl(const ASTNodeType &Node) { auto Parents = Context.getParents(Node); // FIXME: figure out how to handle it when there are multiple parents. if (Parents.size() != 1) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits