summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorMatheus Izvekov <mizvekov@gmail.com>2024-10-09 01:55:21 -0300
committerGitHub <noreply@github.com>2024-10-09 01:55:21 -0300
commit4336f00f2156970cc0af2816331387a0a4039317 (patch)
tree0e4757d44a9e338cdd3e80c73565055f147d97a7 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parentd50302f31cee86d3270a34f5739c63a41f60f2c1 (diff)
[clang] Track function template instantiation from definition (#110387)
This fixes instantiation of definition for friend function templates, when the declaration found and the one containing the definition have different template contexts. In these cases, the the function declaration corresponding to the definition is not available; it may not even be instantiated at all. So this patch adds a bit which tracks which function template declaration was instantiated from the member template. It's used to find which primary template serves as a context for the purpose of obtaining the template arguments needed to instantiate the definition. Fixes #55509
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions