[all-commits] [llvm/llvm-project] f5b378: [clang] Use new interpreter in EvaluateAsConstantE...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Tue Nov 14 23:29:35 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5b378b0d6e516a55fceee79d97c2cbfe58e7845
https://github.com/llvm/llvm-project/commit/f5b378b0d6e516a55fceee79d97c2cbfe58e7845
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2023-11-15 (Wed, 15 Nov 2023)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang] Use new interpreter in EvaluateAsConstantExpr if requested (#70763)
EvaluateAsConstantExpr() uses ::EvaluateInPlace() directly, which does
not use the new interpreter if requested. Do it here, which is the same
pattern we use in EvaluateAsInitializer.
More information about the All-commits
mailing list