Skip to content

Commit c524a39

Browse files
committed
Basics: only allow ASTContext to add block list path
1 parent aa76845 commit c524a39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/Basic/BlockList.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ class BlockListStore {
3838
struct Implementation;
3939
bool hasBlockListAction(StringRef key, BlockListKeyKind keyKind,
4040
BlockListAction action);
41-
void addConfigureFilePath(StringRef path);
4241
BlockListStore();
4342
~BlockListStore();
4443
private:
44+
friend class ASTContext;
45+
void addConfigureFilePath(StringRef path);
4546
Implementation &Impl;
4647
};
4748

0 commit comments

Comments
 (0)