DmitryPolukhin added a comment. Yes, it is what I meant as a simpler solution. But please add Lit test even for such trivial option.
================ Comment at: clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp:337 + + Config.assign((*Text)->getBuffer()); + } ---------------- I suggest creating new local variable with text of the config from `Config` or `ConfigFile` file content i.e. avoid modifying `Config` itself. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D89936/new/ https://reviews.llvm.org/D89936 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits