llvm-project/llvm/include
Andrew Trick dbb7ae54b8 Add "extern template" declarations now that we use explicit instantiation.
This is supported by gcc and clang, but guarded by a macro for MSVC 2008.

The extern template declaration is not necessary but generally good
form. It can avoid extra instantiations of the template methods
defined inline.

The EXTERN_TEMPLATE_INSTANTIATION macro could probably be generalized to
handle multiple template parameters if someone thinks it's worthwhile.

llvm-svn: 158840
2012-06-20 20:17:20 +00:00
..
llvm Add "extern template" declarations now that we use explicit instantiation. 2012-06-20 20:17:20 +00:00
llvm-c Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00