================ @@ -232,6 +232,17 @@ class PragmaIncludes::RecordPragma : public PPCallbacks, public CommentHandler { void checkForExport(FileID IncludingFile, int HashLine, std::optional<Header> IncludedHeader, OptionalFileEntryRef IncludedFile) { + auto AddExport = [&] { ---------------- hokein wrote:
Can you inline this lambda? I think the code is correct, but I found it a bit hard to reason about the change. https://github.com/llvm/llvm-project/pull/72246 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits