forked from OSchip/llvm-project
[clang-tidy] Remove reference to CSA AnalysisStoreOpt field
D126215 removed the `AnalysisStoreOpt` field, so `clang-tidy` should not refer to it. http://45.33.8.238/linux/78232/step_4.txt ../../clang-tools-extra/clang-tidy/ClangTidy.cpp:444:22: error: no member named 'AnalysisStoreOpt' in 'clang::AnalyzerOptions' AnalyzerOptions->AnalysisStoreOpt = RegionStoreModel; ~~~~~~~~~~~~~~~~~^ ../../clang-tools-extra/clang-tidy/ClangTidy.cpp:444:41: error: use of undeclared identifier 'RegionStoreModel' AnalyzerOptions->AnalysisStoreOpt = RegionStoreModel; This one liner patch should resolve the build failure. Differential Revision: https://reviews.llvm.org/D126215
This commit is contained in:
parent
07b4a6d046
commit
4c38953f32
|
@ -441,7 +441,6 @@ ClangTidyASTConsumerFactory::createASTConsumer(
|
|||
Context, Context.canEnableAnalyzerAlphaCheckers());
|
||||
if (!AnalyzerOptions->CheckersAndPackages.empty()) {
|
||||
setStaticAnalyzerCheckerOpts(Context.getOptions(), *AnalyzerOptions);
|
||||
AnalyzerOptions->AnalysisStoreOpt = RegionStoreModel;
|
||||
AnalyzerOptions->AnalysisDiagOpt = PD_NONE;
|
||||
AnalyzerOptions->eagerlyAssumeBinOpBifurcation = true;
|
||||
std::unique_ptr<ento::AnalysisASTConsumer> AnalysisConsumer =
|
||||
|
|
Loading…
Reference in New Issue