[all-commits] [llvm/llvm-project] e5a62d: [StaticAnalyzer] Fix -Wunused-but-set-variable in ...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Fri Nov 15 03:07:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5a62d45fb1aa3b97ae47588cdc61d0d28f0c1a7
      https://github.com/llvm/llvm-project/commit/e5a62d45fb1aa3b97ae47588cdc61d0d28f0c1a7
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp

  Log Message:
  -----------
  [StaticAnalyzer] Fix -Wunused-but-set-variable in ExprEngineCXX.cpp (NFC)

/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:48:24:
error: variable 'ThisRD' set but not used [-Werror,-Wunused-but-set-variable]
  const CXXRecordDecl *ThisRD = nullptr;
                       ^
1 error generated.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list