[all-commits] [llvm/llvm-project] 621d1d: [cmake] Add -Wcast-qual to C flags if LLVM_ENABLE_...

Alex MacLean via All-commits all-commits at lists.llvm.org
Tue Jul 18 16:45:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 621d1d07d9c426875323ed7a996758477ae33517
      https://github.com/llvm/llvm-project/commit/621d1d07d9c426875323ed7a996758477ae33517
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    M llvm/lib/Support/regcomp.c

  Log Message:
  -----------
  [cmake] Add -Wcast-qual to C flags if LLVM_ENABLE_WARNINGS is defined.

Disable this warning for specific cast in llvm_regcomp().

Reviewed By: dblaikie

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




More information about the All-commits mailing list