[clang] [llvm] [CMake][NFC] Don't use uninitialized LLVM_REQUIRES_* (PR #175554)

Alexis Engelke via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 12 07:29:38 PST 2026


================
@@ -3,9 +3,5 @@ add_library(MathTest STATIC
 
 target_include_directories(MathTest PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../include")
 
-if(NOT LLVM_REQUIRES_RTTI)
-  target_compile_options(MathTest PUBLIC -fno-rtti)
----------------
aengelke wrote:

Changed to what I believe was the intended meaning when @jhuber6 suggested the change in https://github.com/llvm/llvm-project/pull/149242#discussion_r2228980135. I have no idea how offload works.

https://github.com/llvm/llvm-project/pull/175554


More information about the cfe-commits mailing list