DmitryPolukhin added a comment.

@Hiralo, it looks like you uploaded wrong diff because your previous revision 
is shown as "base" version. Base revision should be clang-tidy sources without 
your changes.

Please add Lit test for the new option, see 
https://llvm.org/docs/TestingGuide.html for more details and existing 
clang-tidy tests.



================
Comment at: clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp:330
   if (!Config.empty()) {
     if (llvm::ErrorOr<ClangTidyOptions> ParsedConfig =
             parseConfiguration(Config)) {
----------------
I think you can make this option much simpler if you just read file content and 
use it or `Config` here. No changes in 
clang-tools-extra/clang-tidy/ClangTidyOptions.h/.cpp will be required.


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

Reply via email to