[all-commits] [llvm/llvm-project] 9d59cf: clang-analyzer plugins require LLVM_ENABLE_PLUGINS...

Jameson Nash via All-commits all-commits at lists.llvm.org
Wed Feb 16 09:00:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d59cfc67eadbe4b4088d70f8bbc61c96568d2f1
      https://github.com/llvm/llvm-project/commit/9d59cfc67eadbe4b4088d70f8bbc61c96568d2f1
  Author: Jameson Nash <vtjnash at gmail.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M clang/CMakeLists.txt
    M clang/examples/AnnotateFunctions/CMakeLists.txt
    M clang/examples/Attribute/CMakeLists.txt
    M clang/examples/CMakeLists.txt
    M clang/examples/CallSuperAttribute/CMakeLists.txt
    M clang/examples/PluginsOrder/CMakeLists.txt
    M clang/examples/PrintFunctionNames/CMakeLists.txt
    M clang/lib/Analysis/plugins/CMakeLists.txt
    M clang/test/CMakeLists.txt

  Log Message:
  -----------
  clang-analyzer plugins require LLVM_ENABLE_PLUGINS also

The clang-analyzer plugins are not linked to a particular tool, so they
can only be compiled if plugins are broadly supported. We could opt
instead to decide whether to link them to specifically against clang or
with undefined symbols, depending on the value of LLVM_ENABLE_PLUGINS,
but we do not currently expect there to be a use case for that rather
niche configuration.

Differential Revision: https://reviews.llvm.org/D119591




More information about the All-commits mailing list