Skip to content

Commit b429c70

Browse files
committed
[ClangImporter] Handle split sema
`Sema` was split up in LLVM upstream 31a203fa8af47a8b2e8e357857b114cf90638b2eq.
1 parent 226ba82 commit b429c70

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3951,11 +3951,12 @@ void ClangModuleUnit::lookupObjCMethods(
39513951
// Collect all of the Objective-C methods with this selector.
39523952
SmallVector<clang::ObjCMethodDecl *, 8> objcMethods;
39533953
auto &clangSema = owner.getClangSema();
3954-
clangSema.CollectMultipleMethodsInGlobalPool(clangSelector,
3954+
auto &clangObjc = clangSema.ObjC();
3955+
clangObjc.CollectMultipleMethodsInGlobalPool(clangSelector,
39553956
objcMethods,
39563957
/*InstanceFirst=*/true,
39573958
/*CheckTheOther=*/false);
3958-
clangSema.CollectMultipleMethodsInGlobalPool(clangSelector,
3959+
clangObjc.CollectMultipleMethodsInGlobalPool(clangSelector,
39593960
objcMethods,
39603961
/*InstanceFirst=*/false,
39613962
/*CheckTheOther=*/false);

0 commit comments

Comments
 (0)