llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: None (Sirraide) <details> <summary>Changes</summary> Canonicalise this CMake variable properly as suggested in https://github.com/llvm/llvm-project/pull/119269#discussion_r1935034073 --- Full diff: https://github.com/llvm/llvm-project/pull/125117.diff 2 Files Affected: - (modified) clang/test/CMakeLists.txt (+1) - (modified) clang/test/lit.site.cfg.py.in (+1-1) ``````````diff diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index 9ce8365910d559..988629cd0894d5 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/test/CMakeLists.txt @@ -9,6 +9,7 @@ llvm_canonicalize_cmake_booleans( CLANG_PLUGIN_SUPPORT CLANG_SPAWN_CC1 CLANG_ENABLE_CIR + CLANG_ENABLE_OBJC_REWRITER ENABLE_BACKTRACES LLVM_BUILD_EXAMPLES LLVM_BYE_LINK_INTO_TOOLS diff --git a/clang/test/lit.site.cfg.py.in b/clang/test/lit.site.cfg.py.in index ae8b927624e23f..0a00697ace1141 100644 --- a/clang/test/lit.site.cfg.py.in +++ b/clang/test/lit.site.cfg.py.in @@ -22,7 +22,7 @@ config.host_cxx = "@CMAKE_CXX_COMPILER@" config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@" config.have_zlib = @LLVM_ENABLE_ZLIB@ config.have_zstd = @LLVM_ENABLE_ZSTD@ -config.clang_objc_rewriter = "@CLANG_ENABLE_OBJC_REWRITER@" == "ON" +config.clang_objc_rewriter = @CLANG_ENABLE_OBJC_REWRITER@ config.clang_default_pie_on_linux = @CLANG_DEFAULT_PIE_ON_LINUX@ config.clang_default_cxx_stdlib = "@CLANG_DEFAULT_CXX_STDLIB@" config.clang_staticanalyzer = @CLANG_ENABLE_STATIC_ANALYZER@ `````````` </details> https://github.com/llvm/llvm-project/pull/125117 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits