[all-commits] [llvm/llvm-project] c72513: [clang][Interp] Check pointers for live-ness when ...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Wed Jul 26 00:52:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7251385c85ddcc1059548038e60099fcc5b304c
https://github.com/llvm/llvm-project/commit/c7251385c85ddcc1059548038e60099fcc5b304c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Check pointers for live-ness when returning them
We might be trying to return a pointer or reference to a local variable,
which doesn't work.
Differential Revision: https://reviews.llvm.org/D154795
More information about the All-commits
mailing list