[all-commits] [llvm/llvm-project] 880717: clang-analyzer plugins require LLVM_ENABLE_PLUGINS...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Wed Feb 16 23:33:37 PST 2022
Branch: refs/heads/release/14.x
Home: https://github.com/llvm/llvm-project
Commit: 880717cc801d0814329af181afe3e084fd45ef74
https://github.com/llvm/llvm-project/commit/880717cc801d0814329af181afe3e084fd45ef74
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
(cherry picked from commit 9d59cfc67eadbe4b4088d70f8bbc61c96568d2f1)
Commit: 1e348e6042fcec068dfb56c65339a5a60033d3bd
https://github.com/llvm/llvm-project/commit/1e348e6042fcec068dfb56c65339a5a60033d3bd
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M clang/lib/Headers/opencl-c.h
Log Message:
-----------
[OpenCL] Guard atomic_double with cl_khr_int64_*
It is necessary to guard atomic_double type according to
https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_C.html#_footnotedef_54.
Platform that disable cl_khr_int64_base_atomics and
cl_khr_int64_extended_atomics will have compiling errors even if
atomic_double is not used.
Patch by Haonan Yang.
Differential Revision: https://reviews.llvm.org/D119398
(cherry picked from commit 477bc8e8b9311fdac4c360b1fe7d29d0d10aac6c)
Compare: https://github.com/llvm/llvm-project/compare/9bc22aa50780...1e348e6042fc
More information about the All-commits
mailing list