ASTUnit::Parse sets up the FileManager earlier in the same function,
ensuring ASTUnit::getFileManager() matches Clang->getFileManager().
Remove the later call to setFileManager(getFileManager()) since it
does nothing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Frontend/ASTUnit.cpp | ||
---|---|---|
1135–1141 | Here's where the FileManager was already set up. |
Here's where the FileManager was already set up.