clang 20.0.0git
Macros
Compiler.h File Reference
#include "llvm/Support/Compiler.h"

Go to the source code of this file.

Macros

#define CLANG_ABI_NOT_EXPORTED
 CLANG_ABI is the main export/visibility macro to mark something as explicitly exported when clang is built as a shared library with everything else that is unannotated having hidden visibility.
 

Macro Definition Documentation

◆ CLANG_ABI_NOT_EXPORTED

#define CLANG_ABI_NOT_EXPORTED

CLANG_ABI is the main export/visibility macro to mark something as explicitly exported when clang is built as a shared library with everything else that is unannotated having hidden visibility.

CLANG_EXPORT_TEMPLATE is used on explicit template instantiations in source files that were declared extern in a header. This macro is only set as a compiler export attribute on windows, on other platforms it does nothing.

CLANG_TEMPLATE_ABI is for annotating extern template declarations in headers for both functions and classes. On windows its turned in to dllimport for library consumers, for other platforms its a default visibility attribute.

Definition at line 33 of file Compiler.h.