Skip to content

Commit 0a9149f

Browse files
committed
[ClangImporter] Add comment to the ClangImporterDependencyCollector
Add a comment to the ClangImporterDependencyCollector explaining that the FileCollector is used by LLDB to generate reproducers and is not involved in dependency collection in Swift.
1 parent c624a87 commit 0a9149f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ class BridgingPPTracker : public clang::PPCallbacks {
320320
class ClangImporterDependencyCollector : public clang::DependencyCollector
321321
{
322322
llvm::StringSet<> ExcludedPaths;
323+
/// The FileCollector is used by LLDB to generate reproducers. It's not used
324+
/// by Swift to track dependencies.
323325
std::shared_ptr<llvm::FileCollector> FileCollector;
324326
const bool TrackSystemDeps;
325327

0 commit comments

Comments
 (0)