diff options
author | cor3ntin <corentinjabot@gmail.com> | 2025-01-27 15:50:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 15:50:51 +0100 |
commit | 561132e71b29d9b747dfda1509f715847852f77b (patch) | |
tree | 5a58263d96c8bf6912af98c17a79e66b2608c86a /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | eaa5897534cbd263d0cdbf780f72133c2fe8d8d4 (diff) | |
download | llvm-561132e71b29d9b747dfda1509f715847852f77b.zip llvm-561132e71b29d9b747dfda1509f715847852f77b.tar.gz llvm-561132e71b29d9b747dfda1509f715847852f77b.tar.bz2 |
[Clang] Fix immediate escalation of template function specializations. (#124404)
We record whether an expression is immediate escalating in the
FunctionScope.
However, that only happen when parsing or transforming an expression.
This might not happen when transforming a non dependent expression.
This patch fixes that by considering a function immediate when
instantiated from an immediate function.
Fixes #123405
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions