enum MacroRole

Description

Roles a token can take in a configured macro expansion.

Declared at: clang/lib/Format/FormatToken.h:161

Enumerators

NameValueComment
MR_ExpandedArg0The token was expanded from a macro argument when formatting the expanded token sequence.
MR_UnexpandedArg1The token is part of a macro argument that was previously formatted as expansion when formatting the unexpanded macro call.
MR_Hidden2The token was expanded from a macro definition, and is not visible as part of the macro call.