projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2131a
)
Fix windows buildbot error.
author
Haojian Wu
<hokein@google.com>
Tue, 4 Apr 2017 09:53:55 +0000
(09:53 +0000)
committer
Haojian Wu
<hokein@google.com>
Tue, 4 Apr 2017 09:53:55 +0000
(09:53 +0000)
llvm-svn: 299422
clang-tools-extra/clang-rename/USRLocFinder.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clang-rename/USRLocFinder.cpp
b/clang-tools-extra/clang-rename/USRLocFinder.cpp
index
66fd541
..
16b7faf
100644
(file)
--- a/
clang-tools-extra/clang-rename/USRLocFinder.cpp
+++ b/
clang-tools-extra/clang-rename/USRLocFinder.cpp
@@
-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)