llvm/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp

//===-- CPlusPlusNameParser.cpp -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

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

usingnamespacelldb;
usingnamespacelldb_private;
ParsedFunction;
ParsedName;
tok;

std::optional<ParsedFunction> CPlusPlusNameParser::ParseAsFunctionDefinition() {}

std::optional<ParsedName> CPlusPlusNameParser::ParseAsFullName() {}

bool CPlusPlusNameParser::HasMoreTokens() {}

void CPlusPlusNameParser::Advance() {}

void CPlusPlusNameParser::TakeBack() {}

bool CPlusPlusNameParser::ConsumeToken(tok::TokenKind kind) {}

template <typename... Ts> bool CPlusPlusNameParser::ConsumeToken(Ts... kinds) {}

CPlusPlusNameParser::Bookmark CPlusPlusNameParser::SetBookmark() {}

size_t CPlusPlusNameParser::GetCurrentPosition() {}

clang::Token &CPlusPlusNameParser::Peek() {}

std::optional<ParsedFunction>
CPlusPlusNameParser::ParseFunctionImpl(bool expect_return_type) {}

std::optional<ParsedFunction>
CPlusPlusNameParser::ParseFuncPtr(bool expect_return_type) {}

bool CPlusPlusNameParser::ConsumeArguments() {}

bool CPlusPlusNameParser::ConsumeTemplateArgs() {}

bool CPlusPlusNameParser::ConsumeAbiTag() {}

bool CPlusPlusNameParser::ConsumeAnonymousNamespace() {}

bool CPlusPlusNameParser::ConsumeLambda() {}

bool CPlusPlusNameParser::ConsumeBrackets(tok::TokenKind left,
                                          tok::TokenKind right) {}

bool CPlusPlusNameParser::ConsumeOperator() {}

void CPlusPlusNameParser::SkipTypeQualifiers() {}

void CPlusPlusNameParser::SkipFunctionQualifiers() {}

bool CPlusPlusNameParser::ConsumeBuiltinType() {}

void CPlusPlusNameParser::SkipPtrsAndRefs() {}

bool CPlusPlusNameParser::ConsumePtrsAndRefs() {}

bool CPlusPlusNameParser::ConsumeDecltype() {}

bool CPlusPlusNameParser::ConsumeTypename() {}

std::optional<CPlusPlusNameParser::ParsedNameRanges>
CPlusPlusNameParser::ParseFullNameImpl() {}

llvm::StringRef CPlusPlusNameParser::GetTextForRange(const Range &range) {}

static const clang::LangOptions &GetLangOptions() {}

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

void CPlusPlusNameParser::ExtractTokens() {}