David Blaikie 1524e67feb Modular Codegen: Don't home always_inline functions
Since they'll likely (not always - if the address is taken, etc) be
inlined away, even at -O0, separately provided weak definitions are
likely to be unused so skip all of that.

llvm-svn: 317279
2017-11-02 22:28:50 +00:00

12 lines
231 B
C++

#include "foo.h"
void non_modular_use_of_implicit_dtor() {
implicit_dtor d1;
uninst_implicit_dtor d2;
}
void use_of_instantiated_declaration_without_definition() {
inst<int>();
}
void call_always_inline() {
always_inl();
}