[all-commits] [llvm/llvm-project] 033ec0: [Clang][Sema] Fix Wswitch-default bad warning in t...

hstk30-hw via All-commits all-commits at lists.llvm.org
Thu Dec 21 17:01:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 033ec098be730bff04bfb929d254ce57e5ec8534
      https://github.com/llvm/llvm-project/commit/033ec098be730bff04bfb929d254ce57e5ec8534
  Author: hstk30-hw <hanwei62 at huawei.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M clang/lib/Sema/SemaStmt.cpp
    R clang/test/Sema/switch-default.c
    A clang/test/Sema/switch-default.cpp

  Log Message:
  -----------
  [Clang][Sema] Fix Wswitch-default bad warning in template (#76007)

https://github.com/llvm/llvm-project/pull/73077 added -Wswitch-default
diagnostic but it produced false positives in templates. This PR will
address that. https://github.com/llvm/llvm-project/issues/75943




More information about the All-commits mailing list