[all-commits] [llvm/llvm-project] d63c8b: [clang][ExprConst] Remove unnecessary cast

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Feb 8 06:30:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d63c8bee58b5d4dad9f1c550a342e782e0038f28
      https://github.com/llvm/llvm-project/commit/d63c8bee58b5d4dad9f1c550a342e782e0038f28
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

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

  Log Message:
  -----------
  [clang][ExprConst] Remove unnecessary cast

FD is a FunctionDecl, so no need to cast a FunctionDecl to a
CXXMethodDecl just to assign it to a FunctionDecl.




More information about the All-commits mailing list