[all-commits] [llvm/llvm-project] 45c84f: [clang][analyzer] Remove unused variable in Stream...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Mon Jan 22 17:25:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c84f8011d2be9a2378487607ef811f75b4bfca
      https://github.com/llvm/llvm-project/commit/45c84f8011d2be9a2378487607ef811f75b4bfca
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp

  Log Message:
  -----------
  [clang][analyzer] Remove unused variable in StreamChecker.cpp (NFC)

llvm-project/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:1125:17:
 error: unused variable 'ASTC' [-Werror,-Wunused-variable]
 1125 |     ASTContext &ASTC = C.getASTContext();
      |                 ^~~~
1 error generated.




More information about the All-commits mailing list