diff options
author | Richard Smith <richard@metafoo.co.uk> | 2020-10-30 18:30:56 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2020-10-30 18:35:12 -0700 |
commit | dd8297b0669f8e69b03ba40171b195b5acf0f963 (patch) | |
tree | 8cc3449273fa9531a063213560451f93f56f00d2 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | ca55c99d56d336893a241bd758347a9d19b25fdd (diff) | |
download | llvm-dd8297b0669f8e69b03ba40171b195b5acf0f963.zip llvm-dd8297b0669f8e69b03ba40171b195b5acf0f963.tar.gz llvm-dd8297b0669f8e69b03ba40171b195b5acf0f963.tar.bz2 |
PR42513: Fix handling of function definitions lazily instantiated from
friends.
When determining whether a function has a template instantiation
pattern, look for other declarations of that function that were
instantiated from a friend function definition, rather than assuming
that checking for member specialization information on whichever
declaration name lookup found will be sufficient.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions