[all-commits] [llvm/llvm-project] b4343a: [clang][ExprConst] Short-circuit ConstantExpr eval...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Oct 10 04:27:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4343aba9fa12ddb397e08208ec37fcf0fb93864
      https://github.com/llvm/llvm-project/commit/b4343aba9fa12ddb397e08208ec37fcf0fb93864
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

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

  Log Message:
  -----------
  [clang][ExprConst] Short-circuit ConstantExpr evaluation

ConstantExprs already have a value attached we can just return here.

Differential Revision: https://reviews.llvm.org/D155548




More information about the All-commits mailing list