diff options
Diffstat (limited to 'include/llvm/Support/Compiler.h')
| -rw-r--r-- | include/llvm/Support/Compiler.h | 13 | 
1 files changed, 0 insertions, 13 deletions
| diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 67ef23d43c99..141639839cc2 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -174,19 +174,6 @@  #define LLVM_UNLIKELY(EXPR) (EXPR)  #endif -// C++ doesn't support 'extern template' of template specializations.  GCC does, -// but requires __extension__ before it.  In the header, use this: -//   EXTERN_TEMPLATE_INSTANTIATION(class foo<bar>); -// in the .cpp file, use this: -//   TEMPLATE_INSTANTIATION(class foo<bar>); -#ifdef __GNUC__ -#define EXTERN_TEMPLATE_INSTANTIATION(X) __extension__ extern template X -#define TEMPLATE_INSTANTIATION(X) template X -#else -#define EXTERN_TEMPLATE_INSTANTIATION(X) -#define TEMPLATE_INSTANTIATION(X) -#endif -  /// LLVM_ATTRIBUTE_NOINLINE - On compilers where we have a directive to do so,  /// mark a method "not for inlining".  #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0) | 
