ahatanak added inline comments.
================ Comment at: clang/lib/Frontend/HeaderIncludeGen.cpp:251 + FileID MainID = SM.getMainFileID(); + std::string MainFilename; + ---------------- jansvoboda11 wrote: > This can be `StringRef` I think. I simplified this part by removing the code that checks whether `MainID` is valid. It's set when `BeginSourceFile` is called, so it should be valid. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137996/new/ https://reviews.llvm.org/D137996 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits