[all-commits] [llvm/llvm-project] f92980: [clang] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Oct 23 09:35:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f92980c72660c40a18b72dd3b259dd3c200f109f
      https://github.com/llvm/llvm-project/commit/f92980c72660c40a18b72dd3b259dd3c200f109f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-10-23 (Sun, 23 Oct 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp

  Log Message:
  -----------
  [clang] Fix a warning

This patch fixes:

  clang/lib/AST/Interp/ByteCodeExprGen.cpp:978:24: warning: variable
  ‘T’ set but not used [-Wunused-but-set-variable]

T and ReturnType were introduced on August 19, 2022 in commit
8e41e6a4eafa2b667ec37ece33a85493fe0156c2.

Their last uses were removed on October 13, 2022 in commit
0e754cfadc9487282d9b6119c41962c5c6c3660f.




More information about the All-commits mailing list