[all-commits] [llvm/llvm-project] 434426: [clang] Return std::optional from all Expr::tryEva...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Mon Feb 9 04:37:36 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4344268ad605a3b77d00a30fb9284f453b240ec0
https://github.com/llvm/llvm-project/commit/4344268ad605a3b77d00a30fb9284f453b240ec0
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M clang/include/clang/AST/Expr.h
M clang/lib/AST/ByteCode/Context.cpp
M clang/lib/AST/ByteCode/Context.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
Log Message:
-----------
[clang] Return std::optional from all Expr::tryEvaluate* API (#179230)
tryEvaluateString was returning an std::optional, but the other try* API
was not. Update tryEvaluateObjectSize and tryEvaluateStrLen to return an
std::optional<uint64_t>.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list