Skip to content

Commit 01296fa

Browse files
committed
ClangImporter: Adjust references to moved enum clang::LookupResult::LookupResultKind
See llvm/llvm-project@ee29afe
1 parent 85c344b commit 01296fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ImportMacro.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ static ValueDecl *importMacro(ClangImporter::Implementation &impl,
620620
clang::LookupResult R(S, {{tok.getIdentifierInfo()}, {}},
621621
clang::Sema::LookupAnyName);
622622
if (S.LookupName(R, S.TUScope))
623-
if (R.getResultKind() == clang::LookupResult::LookupResultKind::Found)
623+
if (R.getResultKind() == clang::LookupResultKind::Found)
624624
if (const auto *VD = dyn_cast<clang::ValueDecl>(R.getFoundDecl()))
625625
return importDeclAlias(impl, DC, VD, name);
626626
}

0 commit comments

Comments
 (0)