Skip to content

Commit

Permalink
Oops. This needs to go before the break.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Dec 26, 2016
1 parent c3fba00 commit 120ac3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClangIndexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,9 +947,9 @@ bool ClangIndexer::handleReference(const CXCursor &cursor, CXCursorKind kind, Lo
case CXCursor_FunctionDecl:
case CXCursor_Destructor:
case CXCursor_FunctionTemplate: {
ref = resolveTemplate(ref, refLoc);
if (refKind == CXCursor_FunctionDecl)
break;
ref = resolveTemplate(ref, refLoc);
if (refKind == CXCursor_Constructor || refKind == CXCursor_Destructor) {
if (isImplicit(ref)) {
return false;
Expand Down

0 comments on commit 120ac3b

Please sign in to comment.