[all-commits] [llvm/llvm-project] 4c3895: [clang-tidy] Remove reference to CSA AnalysisStore...

Balazs Benics via All-commits all-commits at lists.llvm.org
Fri Jun 10 04:22:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c38953f32f29a0cd3b8b9d9ae894bb49d3cd44b
      https://github.com/llvm/llvm-project/commit/4c38953f32f29a0cd3b8b9d9ae894bb49d3cd44b
  Author: Balazs Benics <balazs.benics at sigmatechnology.se>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidy.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list