[all-commits] [llvm/llvm-project] ba451c: [clang][Interp][NFC] Only set result invalid if empty
Timm Baeder via All-commits
all-commits at lists.llvm.org
Sat Feb 10 10:46:06 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ba451c80ba67ab6834305f35d47e36b6b446ce83
https://github.com/llvm/llvm-project/commit/ba451c80ba67ab6834305f35d47e36b6b446ce83
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-10 (Sat, 10 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
Log Message:
-----------
[clang][Interp][NFC] Only set result invalid if empty
This is currently NFC but required for later changes. A Ret op
might fail and set the result to invalid, causing another setInvalid()
call, which asserts that the result is still empty.
More information about the All-commits
mailing list