[all-commits] [llvm/llvm-project] 61fb3f: [cmake] Disable the -Wmisleading-indentation warni...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Aug 31 12:30:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61fb3fb458830c12b7a38273e5c149b9190ee003
      https://github.com/llvm/llvm-project/commit/61fb3fb458830c12b7a38273e5c149b9190ee003
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [cmake] Disable the -Wmisleading-indentation warning with GCC

We do keep using the flag with Clang, which should keep catching
such issues in buildbots.

With GCC, the warning can cause lots of loud notes about the
warning logic getting disabled in large source files.

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




More information about the All-commits mailing list