diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-24 22:45:46 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-24 22:45:46 +0000 |
commit | eb36ddf462de5621fab3a1fb064f526d7bd5fb3d (patch) | |
tree | a08ef1c37dde709da7fdc2243f281b734e521cc6 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 9a5c95ad3adb9cf6dd1957dc36b0d9bf4d73fe55 (diff) | |
download | llvm-eb36ddf462de5621fab3a1fb064f526d7bd5fb3d.zip llvm-eb36ddf462de5621fab3a1fb064f526d7bd5fb3d.tar.gz llvm-eb36ddf462de5621fab3a1fb064f526d7bd5fb3d.tar.bz2 |
If we see an explicit instantiation declaration or definition of a function
after we've already instantiated a definition for the function, pass it to the
ASTConsumer again so that it knows the specialization kind has changed and can
update the function's linkage.
This only matters if we instantiate the definition of the function before we
reach the end of the TU; this can happen in at least three different ways:
C++11 constexpr functions, C++14 deduced return types, and functions
instantiated within modules.
llvm-svn: 207152
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions