ΒΆconst char* getTokenName(
clang::tok::TokenKind Kind)
const char* getTokenName(
clang::tok::TokenKind Kind)
Description
Determines the name of a token as used within the front end. The name of a token will be an internal name (such as "l_square") and should not be used as part of diagnostic messages.
Declared at: clang/include/clang/Basic/TokenKinds.h:56
Parameters
- clang::tok::TokenKind Kind