Skip to content

Commit 7bb8a75

Browse files
committed
Ignore SDKSettings.json in IndexingAction.cpp
This fixes the Index/Store/handle-prebuilt-module.m test that started failing after llvm#139751.
1 parent 59abcd6 commit 7bb8a75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/lib/Index/IndexingAction.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,10 @@ class ModuleFileIndexDependencyCollector : public IndexDependencyProvider {
919919
// undesirable dependency on an intermediate build byproduct.
920920
if (FE->getName().ends_with("module.modulemap"))
921921
return;
922+
// Ignore SDKSettings.json, they are not important to track for
923+
// indexing.
924+
if (FE->getName().ends_with("SDKSettings.json"))
925+
return;
922926

923927
visitor(*FE, isSystem);
924928
});

0 commit comments

Comments
 (0)