#include "CPlusPlusNameParser.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/Threading.h"
#include <optional>
#include "clang/Basic/OperatorKinds.def"
#include "clang/Basic/TokenKinds.def"
Go to the source code of this file.
|
#define | OVERLOADED_OPERATOR(Name, Spelling, Token, Unary, Binary, MemberOnly) |
|
#define | OVERLOADED_OPERATOR_MULTI(Name, Spelling, Unary, Binary, MemberOnly) |
|
#define | KEYWORD(Name, Flags) {llvm::StringRef(#Name), tok::kw_##Name}, |
|
◆ KEYWORD
#define KEYWORD |
( |
|
Name, |
|
|
|
Flags |
|
) |
| {llvm::StringRef(#Name), tok::kw_##Name}, |
◆ OVERLOADED_OPERATOR
#define OVERLOADED_OPERATOR |
( |
|
Name, |
|
|
|
Spelling, |
|
|
|
Token, |
|
|
|
Unary, |
|
|
|
Binary, |
|
|
|
MemberOnly |
|
) |
| |
Value: case tok::Token: \
Advance(); \
break;
◆ OVERLOADED_OPERATOR_MULTI
#define OVERLOADED_OPERATOR_MULTI |
( |
|
Name, |
|
|
|
Spelling, |
|
|
|
Unary, |
|
|
|
Binary, |
|
|
|
MemberOnly |
|
) |
| |
◆ ParsedFunction
◆ ParsedName
◆ GetKeywordsMap()
static const llvm::StringMap< tok::TokenKind > & GetKeywordsMap |
( |
| ) |
|
|
static |
◆ GetLangOptions()
static const clang::LangOptions & GetLangOptions |
( |
| ) |
|
|
static |