[PATCH] D46504: [clang-tidy] Profile is a per-AST (per-TU) data.
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 6 16:20:38 PDT 2018
Eugene.Zelenko added inline comments.
================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:181
std::unique_ptr<ClangTidyOptionsProvider> OptionsProvider)
- : DiagEngine(nullptr), OptionsProvider(std::move(OptionsProvider)),
- Profile(nullptr) {
+ : DiagEngine(nullptr), OptionsProvider(std::move(OptionsProvider)) {
// Before the first translation unit we can get errors related to command-line
----------------
Will be good idea to use default member initialization for DiagEngine too.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D46504
More information about the cfe-commits
mailing list