[clang] [clang] NFCI: Use `FileEntryRef` for `FileID` creation (PR #67838)

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 11:01:49 PDT 2023


================
@@ -527,17 +527,6 @@ FileID SourceManager::getNextFileID(FileID FID) const {
 
 /// Create a new FileID that represents the specified file
 /// being \#included from the specified IncludePosition.
-///
-/// This translates NULL into standard input.
-FileID SourceManager::createFileID(const FileEntry *SourceFile,
----------------
benlangmuir wrote:

Were there no callers that could pass `NULL`?

https://github.com/llvm/llvm-project/pull/67838


More information about the cfe-commits mailing list