jansvoboda11 added inline comments.
================ Comment at: clang/include/clang/Driver/Driver.h:239 + /// enviroment variable CC_PRINT_HEADERS_FORMAT. + std::string CCPrintHeadersFormat; ---------------- Can we make this `HeaderIncludeFormatEnum` instead of `std::string`? ================ Comment at: clang/include/clang/Frontend/DependencyOutputOptions.h:48 + /// The format of header information. + enum HeaderIncludeFormatEnum { + HIF_Textual, ---------------- I'd either drop the `Enum` suffix or replace it with `Kind`. But up to you. ================ Comment at: clang/lib/Frontend/HeaderIncludeGen.cpp:251 + FileID MainID = SM.getMainFileID(); + std::string MainFilename; + ---------------- This can be `StringRef` I think. 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