diff --git a/llvm/include/llvm/Support/WithColor.h b/llvm/include/llvm/Support/WithColor.h index e80e5d469363d..be498cb082e22 100644 --- a/llvm/include/llvm/Support/WithColor.h +++ b/llvm/include/llvm/Support/WithColor.h @@ -51,7 +51,7 @@ enum class ColorMode { /// An RAII object that temporarily switches an output stream to a specific /// color. -class WithColor { +class LLVM_ABI WithColor { public: using AutoDetectFunctionType = bool (*)(const raw_ostream &OS);