[all-commits] [llvm/llvm-project] 593372: Revert "Diagnose -Wunused-value based on CFG reach...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Thu Sep 23 11:13:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 59337263ab45d7657ee901eb5525a21967c46265
      https://github.com/llvm/llvm-project/commit/59337263ab45d7657ee901eb5525a21967c46265
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaStmt.cpp
    M clang/test/Analysis/dead-stores.c
    M clang/test/CXX/basic/basic.link/p8.cpp
    M clang/test/CXX/drs/dr14xx.cpp
    M clang/test/CXX/drs/dr20xx.cpp
    M clang/test/CXX/drs/dr7xx.cpp
    M clang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp
    M clang/test/CodeCompletion/pragma-macro-token-caching.c
    M clang/test/Frontend/fixed_point_crash.c
    M clang/test/PCH/cxx-explicit-specifier.cpp
    M clang/test/Parser/cxx-ambig-decl-expr.cpp
    M clang/test/Parser/cxx0x-ambig.cpp
    M clang/test/Parser/cxx1z-init-statement.cpp
    M clang/test/Parser/objc-messaging-1.m
    M clang/test/Parser/objc-try-catch-1.m
    M clang/test/Parser/objcxx11-attributes.mm
    M clang/test/Sema/const-eval.c
    M clang/test/Sema/exprs.c
    M clang/test/Sema/i-c-e.c
    M clang/test/Sema/sizeless-1.c
    M clang/test/Sema/switch-1.c
    M clang/test/Sema/vla-2.c
    M clang/test/Sema/warn-type-safety.c
    M clang/test/Sema/warn-unused-value.c
    M clang/test/SemaCXX/attr-annotate.cpp
    M clang/test/SemaCXX/builtin-constant-p.cpp
    M clang/test/SemaCXX/constant-expression-cxx2a.cpp
    M clang/test/SemaCXX/constant-expression.cpp
    M clang/test/SemaCXX/expression-traits.cpp
    M clang/test/SemaCXX/matrix-type-operators.cpp
    M clang/test/SemaCXX/overloaded-operator.cpp
    M clang/test/SemaCXX/sizeless-1.cpp
    M clang/test/SemaCXX/vector.cpp
    M clang/test/SemaCXX/warn-comma-operator.cpp
    M clang/test/SemaCXX/warn-unused-value.cpp
    M clang/test/SemaTemplate/derived.cpp
    M clang/test/SemaTemplate/lambda-capture-pack.cpp

  Log Message:
  -----------
  Revert "Diagnose -Wunused-value based on CFG reachability"

This reverts commit cbbf2e8c8ae7730ff0121f4868de4a7d188feb65.
It seems causing diagnoses in SFINAE context.




More information about the All-commits mailing list