Szelethus accepted this revision. Szelethus added a comment. I seem to have missed out on previous commits that moved analyzer plugins around -- would you mind adding `[analyzer]` to the revision names that affect the Static Analyzer? Many of us are automatically subscribed to such patches.
In any case, LGTM! ================ Comment at: lib/Analysis/plugins/CMakeLists.txt:1 -if(LLVM_ENABLE_PLUGINS) +if(LLVM_ENABLE_PLUGINS AND CLANG_ENABLE_STATIC_ANALYZER) add_subdirectory(SampleAnalyzer) ---------------- hintonda wrote: > Szelethus wrote: > > Is this file a thing? `lib/Analysis/plugins/CMakeLists.txt`? I can't seem > > to find it anywhere. > commit a33eaad00cca99ca0b5d2b0cc6dec33be6d7ee7f (origin/master, origin/HEAD, > master) > Author: Don Hinton <hinto...@gmail.com> > Date: Tue Jun 4 22:07:40 2019 +0000 > > [Analysis] Only build Analysis plugins when CLANG_ENABLE_STATIC_ANALYZER > is enabled. > > Fixes bug introduced in r362328. > > Thanks to Nathan Chancellor for reporting this! > > llvm-svn: 362555 > > $ git diff 06c801e153347d24ec7ce93f6ffbbc58b64a89ba > a33eaad00cca99ca0b5d2b0cc6dec33be6d7ee7f > diff --git a/clang/lib/Analysis/plugins/CMakeLists.txt > b/clang/lib/Analysis/plugins/CMakeLists.txt > index f7dbc936952..bd7314a871f 100644 > --- a/clang/lib/Analysis/plugins/CMakeLists.txt > +++ b/clang/lib/Analysis/plugins/CMakeLists.txt > @@ -1,4 +1,4 @@ > -if(LLVM_ENABLE_PLUGINS) > +if(CLANG_ENABLE_STATIC_ANALYZER AND LLVM_ENABLE_PLUGINS) > add_subdirectory(SampleAnalyzer) > add_subdirectory(CheckerDependencyHandling) > add_subdirectory(CheckerOptionHandling) Oops, my apologies, was on the wrong branch. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62873/new/ https://reviews.llvm.org/D62873 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits