LLDB mainline
Macros | Typedefs | Functions
CPlusPlusNameParser.cpp File Reference
#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.

Macros

#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},
 

Typedefs

using ParsedFunction = lldb_private::CPlusPlusNameParser::ParsedFunction
 
using ParsedName = lldb_private::CPlusPlusNameParser::ParsedName
 

Functions

static const clang::LangOptions & GetLangOptions ()
 
static const llvm::StringMap< tok::TokenKind > & GetKeywordsMap ()
 

Macro Definition Documentation

◆ 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 
)

Typedef Documentation

◆ ParsedFunction

Definition at line 19 of file CPlusPlusNameParser.cpp.

◆ ParsedName

Definition at line 20 of file CPlusPlusNameParser.cpp.

Function Documentation

◆ GetKeywordsMap()

static const llvm::StringMap< tok::TokenKind > & GetKeywordsMap ( )
static

◆ GetLangOptions()

static const clang::LangOptions & GetLangOptions ( )
static