[all-commits] [llvm/llvm-project] 8a4bbe: [clang][Interp] Remove args from called functions ...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Tue Jul 25 23:51:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a4bbeb9168cec7d7bec7b21f4718c58dcff7602
https://github.com/llvm/llvm-project/commit/8a4bbeb9168cec7d7bec7b21f4718c58dcff7602
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/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Remove args from called functions in more cases
When calling functions in the checkingPotentialConstantExpression mode,
we cannot have arguments (including This + RVO pointers) for the
toplevel callee, but the functions called from within can work just
fine, or at least we succeed in pushing their arguments on the stack, so
we must also succeed in removing them again.
Differential Revision: https://reviews.llvm.org/D150358
More information about the All-commits
mailing list