njames93 marked an inline comment as done. njames93 added inline comments.
================ Comment at: clang-tools-extra/clang-tidy/ClangTidyOptions.cpp:400 + DiagCallback Handler) { + llvm::yaml::Input Input(Config, nullptr, Handler ? diagHandlerImpl : nullptr, + &Handler); ---------------- aaron.ballman wrote: > njames93 wrote: > > aaron.ballman wrote: > > > Would it make sense to require `Handler` to be nonnull with an assertion? > > Wasn't sure which way to go with that one, happy to use an assert if you > > think it's a good idea > Now that I understand the use for this change better, I think the code is > good as-is. Whoops, just changed it to assert Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D92920/new/ https://reviews.llvm.org/D92920 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits