diff options
author | TilakChad <49703944+TilakChad@users.noreply.github.com> | 2025-03-21 01:14:23 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 16:29:23 -0300 |
commit | 523cf65b668e2c7c572c8b5a54e28388d5e955a4 (patch) | |
tree | ef68819910225e01ea66ba19cfff5ed030877928 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | df2a56767d7eeb09413e38737d598db749d1bc6d (diff) | |
download | llvm-523cf65b668e2c7c572c8b5a54e28388d5e955a4.zip llvm-523cf65b668e2c7c572c8b5a54e28388d5e955a4.tar.gz llvm-523cf65b668e2c7c572c8b5a54e28388d5e955a4.tar.bz2 |
[Clang] Do not create dependent CallExpr having UnresolvedLookupExpr inside non-dependent context (#124609)
The `UnresolvedLookupExpr` doesn't get looked up and resolved again
while it is inside the non-dependent context. It propagates into the
codegen phase, causing the assertion failure.
We attempt to determine if the current context is dependent before
moving on with the substitution introduced in the
https://github.com/llvm/llvm-project/commit/20a05677f9394d4bc9467fe7bc93a4ebd3aeda61.
This fixes https://github.com/llvm/llvm-project/issues/122892.
---------
Co-authored-by: Sirraide <aeternalmail@gmail.com>
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions