9#ifndef LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_CPLUSPLUSLANGUAGE_H
10#define LLDB_SOURCE_PLUGINS_LANGUAGE_CPLUSPLUS_CPLUSPLUSLANGUAGE_H
15#include "llvm/ADT/StringRef.h"
120 bool IsSourceFile(llvm::StringRef file_path)
const override;
161 llvm::StringRef &context,
162 llvm::StringRef &identifier);
164 std::vector<ConstString>
llvm::StringRef m_arguments
llvm::StringRef m_return_type
llvm::StringRef m_basename
llvm::StringRef GetArguments()
std::string GetScopeQualifiedName()
MethodName(ConstString s)
llvm::StringRef GetContext()
llvm::StringRef m_context
llvm::StringRef m_qualifiers
llvm::StringRef GetQualifiers()
bool ContainsPath(llvm::StringRef path)
llvm::StringRef GetBasename()
bool TrySimplifiedParse()
ConstString GetFullName() const
llvm::StringRef GetReturnType()
Returns the methods return-type.
llvm::StringRef GetBasenameNoTemplateParameters()
Returns the Basename of this method without a template parameter list, if any.
bool GetFunctionDisplayName(const SymbolContext *sc, const ExecutionContext *exe_ctx, FunctionNameRepresentation representation, Stream &s) override
bool IsNilReference(ValueObject &valobj) override
bool IsSourceFile(llvm::StringRef file_path) const override
ConstString GetDemangledFunctionNameWithoutArguments(Mangled mangled) const override
llvm::StringRef GetNilReferenceSummaryString() override
Returns the summary string for ValueObjects for which IsNilReference() is true.
const Highlighter * GetHighlighter() const override
lldb::TypeCategoryImplSP GetFormatters() override
ClangHighlighter m_highlighter
static llvm::StringRef GetPluginNameStatic()
bool SymbolNameFitsToLanguage(Mangled mangled) const override
Returns true iff the given symbol name is compatible with the mangling scheme of this language.
HardcodedFormatters::HardcodedSyntheticFinder GetHardcodedSynthetics() override
lldb::LanguageType GetLanguageType() const override
static bool IsCPPMangledName(llvm::StringRef name)
llvm::StringRef GetPluginName() override
std::vector< ConstString > GenerateAlternateFunctionManglings(const ConstString mangled) const override
bool DemangledNameContainsPath(llvm::StringRef path, ConstString demangled) const override
ConstString FindBestAlternateFunctionMangledName(const Mangled mangled, const SymbolContext &sym_ctx) const override
llvm::StringRef GetUserEntryPointName() const override
static bool ExtractContextAndIdentifier(const char *name, llvm::StringRef &context, llvm::StringRef &identifier)
~CPlusPlusLanguage() override=default
std::unique_ptr< TypeScavenger > GetTypeScavenger() override
HardcodedFormatters::HardcodedSummaryFinder GetHardcodedSummaries() override
static lldb_private::Language * CreateInstance(lldb::LanguageType language)
llvm::StringRef GetInstanceVariableName() override
CPlusPlusLanguage()=default
A uniqued constant string class.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
Annotates source code with color attributes.
FunctionNameRepresentation
A class that handles mangled names.
A stream class that can stream formatted output to a file.
Defines a symbol context baton that can be handed other debug core functions.
A class that represents a running process on the host machine.
LanguageType
Programming language type.
@ eLanguageTypeC_plus_plus
ISO C++:1998.
std::shared_ptr< lldb_private::TypeCategoryImpl > TypeCategoryImplSP