Classes | |
class | SimpleTypePrinter |
SimpleTypePrinter a partially substitution of Clang's TypePrinter. More... | |
Functions | |
const char * | Normalize (const std::string &arg) |
uint64_t | Normalize (const llvm::APInt &arg) |
const char * | Normalize (const llvm::APSInt &arg) |
const char * | Normalize (const StringRef &arg) |
const auto & | Normalize (const auto &arg) |
void | FPrintf (const char *fmt, const auto &... args) |
static void | BuildNamespace (std::string &fullNamespace, const NestedNameSpecifier *stmt, const IgnoreNamespace ignoreNamespace) |
STRONG_BOOL (RemoveCurrentScope) | |
static std::string | GetQualifiedName (const NamedDecl &decl, const RemoveCurrentScope removeCurrentScope=RemoveCurrentScope::Yes) |
static std::string | GetScope (const DeclContext *declCtx, const RemoveCurrentScope removeCurrentScope=RemoveCurrentScope::Yes) |
static std::string | GetName (QualType t, const Unqualified unqualified=Unqualified::No, const InsightsSuppressScope supressScope=InsightsSuppressScope::No) |
std::string | ConvertToBoolString (bool b) |
Convert a boolean value to a string representation of "true" or "false". More... | |
void | StrCat (std::string &ret, const auto &... args) |
|
static |
Definition at line 161 of file InsightsHelpers.cpp.
References clang::insights::GetElaboratedTypeKeyword(), clang::insights::GetUnqualifiedScopelessName(), and RETURN_IF.
Referenced by clang::insights::GetNestedName().
|
inline |
Convert a boolean value to a string representation of "true" or "false".
Definition at line 25 of file InsightsStrCat.h.
Referenced by clang::insights::GetNoExcept(), clang::insights::Normalize(), and clang::insights::ToString().
|
inline |
Definition at line 56 of file DPrint.h.
References Normalize().
Referenced by clang::insights::DPrint(), and clang::insights::Error().
|
static |
Definition at line 851 of file InsightsHelpers.cpp.
References clang::insights::GetAsCPPStyleString(), clang::insights::details::SimpleTypePrinter::GetTypeString(), and clang::insights::ScopeHandler::RemoveCurrentScope().
Referenced by clang::insights::asthelpers::CallConstructor(), clang::insights::asthelpers::CallDestructor(), clang::insights::CodeGenerator::FormatCast(), clang::insights::GetName(), clang::insights::GetTypeNameAsParameter(), clang::insights::GetUnqualifiedScopelessName(), clang::insights::CodeGenerator::HandleLocalStaticNonTrivialClass(), clang::insights::StructuredBindingsCodeGenerator::InsertArg(), clang::insights::LambdaCodeGenerator::InsertArg(), clang::insights::CodeGenerator::InsertAttribute(), clang::insights::CodeGenerator::InsertConstructorExpr(), clang::insights::CodeGenerator::InsertFunctionNameWithReturnType(), and clang::insights::CodeGenerator::InsertTemplateArg().
|
static |
!< In some cases we need to keep the scope for a while, so don't remove the scope we are in right now.
Definition at line 393 of file InsightsHelpers.cpp.
References clang::insights::GetDeclContext(), and clang::insights::ScopeHandler::RemoveCurrentScope().
Referenced by clang::insights::GetName(), and GetScope().
|
static |
Definition at line 408 of file InsightsHelpers.cpp.
References GetQualifiedName().
Referenced by clang::insights::GetName().
|
inline |
|
inline |
|
inline |
Definition at line 38 of file DPrint.h.
References Normalize(), and clang::insights::ToString().
|
inline |
Definition at line 20 of file DPrint.h.
Referenced by FPrintf(), and Normalize().
|
inline |
Definition at line 44 of file DPrint.h.
References Normalize().
void clang::insights::details::StrCat | ( | std::string & | ret, |
const auto &... | args | ||
) |
Definition at line 113 of file InsightsStrCat.h.
References clang::insights::Normalize().
Referenced by clang::insights::OutputFormatHelper::Append(), clang::insights::OutputFormatHelper::AppendCommentNewLine(), clang::insights::OutputFormatHelper::AppendNewLine(), clang::insights::OutputFormatHelper::AppendSemiNewLine(), clang::insights::asthelpers::CallConstructor(), clang::insights::asthelpers::CallDestructor(), clang::insights::CodeGenerator::FormatCast(), clang::insights::CodeGenerator::HandleLocalStaticNonTrivialClass(), FindIncludes::InclusionDirective(), FindIncludes::MacroDefined(), and clang::insights::StrCat().
clang::insights::details::STRONG_BOOL | ( | RemoveCurrentScope | ) |