[libclc] 6c56160 - [libclc] Re-enable compiler warning (#136872)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 07:59:19 PDT 2025


Author: Fraser Cormack
Date: 2025-04-23T15:59:15+01:00
New Revision: 6c561604336497cbeebc90f9066a9f474458a38d

URL: https://github.com/llvm/llvm-project/commit/6c561604336497cbeebc90f9066a9f474458a38d
DIFF: https://github.com/llvm/llvm-project/commit/6c561604336497cbeebc90f9066a9f474458a38d.diff

LOG: [libclc] Re-enable compiler warning (#136872)

libclc is now clean of code that triggers the
bitwise-conditional-parentheses warning, so we can finally remove the
workaround.

Added: 
    

Modified: 
    libclc/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
index fcfcf5c9585e2..50ddfc3930cd3 100644
--- a/libclc/CMakeLists.txt
+++ b/libclc/CMakeLists.txt
@@ -441,8 +441,6 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
 
     list( APPEND build_flags
       -I${CMAKE_CURRENT_SOURCE_DIR}/generic/include
-      # FIXME: Fix libclc to not require disabling this noisy warning
-      -Wno-bitwise-conditional-parentheses
     )
 
     add_libclc_builtin_set(


        


More information about the cfe-commits mailing list