CARB_TOOLCHAIN_CLANG

Defined in carb/Defines.h

CARB_TOOLCHAIN_CLANG

A macro defined as 1 if a Clang-infrastructure toolchain is building the current file, that is, if __clang__ is defined; 0 if not. May be overridden by defining a different value before including this file or by specifying a different value on the compiler command line.

Note

It is legal to have CARB_COMPILER_MSC and CARB_TOOLCHAIN_CLANG both as 1 simultaneously, which represents a Clang-infrastructure toolchain running in Microsoft compatibility mode.