[all-commits] [llvm/llvm-project] 99b823: Frontend: Remove redundant call to CompilerInstanc...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Thu Dec 3 16:16:11 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 99b823c2eba391877a0fcd6bc5f03f0d9f0077cb
https://github.com/llvm/llvm-project/commit/99b823c2eba391877a0fcd6bc5f03f0d9f0077cb
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-12-03 (Thu, 03 Dec 2020)
Changed paths:
M clang/lib/Frontend/ASTUnit.cpp
Log Message:
-----------
Frontend: Remove redundant call to CompilerInstance::setFileManager, NFC
`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.
Differential Revision: https://reviews.llvm.org/D90888
More information about the All-commits
mailing list