[all-commits] [llvm/llvm-project] b191ff: [clang] Fix -Wunused-variable in ASTContext.cpp (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Sep 28 17:39:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b191ff01dc337e9a44e422b47cdc6d013cdf4bcf
      https://github.com/llvm/llvm-project/commit/b191ff01dc337e9a44e422b47cdc6d013cdf4bcf
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp

  Log Message:
  -----------
  [clang] Fix -Wunused-variable in ASTContext.cpp (NFC)

/llvm-project/clang/lib/AST/ASTContext.cpp:12938:46: error: unused variable 'DY' [-Werror,-Wunused-variable]
    const auto *DX = cast<DecltypeType>(X), *DY = cast<DecltypeType>(Y);
                                             ^
1 error generated.




More information about the All-commits mailing list