#include <string_view>
Go to the source code of this file.
Macros | |
#define | KW_CONST "const" |
#define | KW_AUTO "auto" |
#define | KW_CONSTEXPR "constexpr" |
#define | KW_CONSTEVAL "consteval" |
#define | KW_CONSTINIT "constinit" |
#define | KW_VOLATILE "volatile" |
#define | KW_STATIC "static" |
#define | KW_EXTERN "extern" |
#define | KW_NOEXCEPT "noexcept" |
#define | KW_CLASS "class" |
#define | KW_STRUCT "struct" |
#define | KW_UNION "union" |
#define | KW_VIRTUAL "virtual" |
#define | KW_INLINE "inline" |
#define | KW_REQUIRES "requires" |
#define | KW_REINTERPRET_CAST "reinterpret_cast" |
#define | KW_STATIC_CAST "static_cast" |
#define | KW_PUBLIC "public" |
#define | KW_PROTECTED "protected" |
#define | KW_PRIVATE "private" |
#define | KW_FINAL "final" |
#define | KW_SIZEOF "sizeof" |
#define | KW_ALIGNOF "alignof" |
#define | KW_OPERATOR "operator" |
#define | KW_USING "using" |
#define | KW_FRIEND "friend" |
#define | KW_EXPLICIT "explicit" |
#define | KW_TEMPLATE "template" |
#define | KW_NULLPTR "nullptr" |
#define | KW_NULL "NULL" |
#define | KW_ENUM "enum" |
#define | KW_NAMESPACE "namespace" |
#define | KW_CONCEPT "concept" |
#define | KW_DELETE "delete" |
#define | KW_WHILE "while" |
#define | KW_BREAK "break" |
#define | KW_DO "do" |
#define | KW_CASE "case" |
#define | KW_GOTO "goto" |
#define | KW_CONTINUE "continue" |
#define | KW_SWITCH "switch" |
#define | KW_TYPEID "typeid" |
#define | KW_MUTABLE "mutable" |
#define | KW_RETURN "return" |
#define | KW_STATIC_ASSERT "static_assert" |
#define | KW_CO_RETURN "co_return" |
#define | KW_CO_YIELD "co_yield" |
#define | KW_CO_AWAIT "co_await" |
#define | KW_TYPENAME "typename" |
#define | KW_EQUALS_DEFAULT "= default;" |
#define | KW_EQUALS_DELETE "= delete" |
#define | KW_INTERNAL_THIS "__this" |
#define | KW_ELIPSIS "..." |
#define | KW_FALSE "false" |
#define | KW_TRY "try" |
#define | KW_TYPEDEF "typedef" |
#define | HLP_ASSIGN " = " |
#define | HLP_ARROW " -> " |
#define | BUILD_KW(kw) " " kw " " |
#define | BUILD_WITH_SPACE_AFTER(kw) kw " " |
#define | BUILD_WITH_SPACE_BEFORE(kw) " " kw |
Functions | |
consteval std::string_view | KwWithSpaceBefore (std::string_view kw) |
consteval std::string_view | KwWithSpaceAfter (std::string_view kw) |
consteval std::string_view | KwWithNoSpace (std::string_view kw) |
#define BUILD_KW | ( | kw | ) | " " kw " " |
Definition at line 76 of file InsightsStaticStrings.h.
#define BUILD_WITH_SPACE_AFTER | ( | kw | ) | kw " " |
Definition at line 139 of file InsightsStaticStrings.h.
#define BUILD_WITH_SPACE_BEFORE | ( | kw | ) | " " kw |
Definition at line 140 of file InsightsStaticStrings.h.
#define HLP_ARROW " -> " |
Definition at line 73 of file InsightsStaticStrings.h.
#define HLP_ASSIGN " = " |
Definition at line 72 of file InsightsStaticStrings.h.
#define KW_ALIGNOF "alignof" |
Definition at line 37 of file InsightsStaticStrings.h.
#define KW_AUTO "auto" |
Definition at line 16 of file InsightsStaticStrings.h.
#define KW_BREAK "break" |
Definition at line 50 of file InsightsStaticStrings.h.
#define KW_CASE "case" |
Definition at line 52 of file InsightsStaticStrings.h.
#define KW_CLASS "class" |
Definition at line 24 of file InsightsStaticStrings.h.
#define KW_CO_AWAIT "co_await" |
Definition at line 62 of file InsightsStaticStrings.h.
#define KW_CO_RETURN "co_return" |
Definition at line 60 of file InsightsStaticStrings.h.
#define KW_CO_YIELD "co_yield" |
Definition at line 61 of file InsightsStaticStrings.h.
#define KW_CONCEPT "concept" |
Definition at line 47 of file InsightsStaticStrings.h.
#define KW_CONST "const" |
Definition at line 15 of file InsightsStaticStrings.h.
#define KW_CONSTEVAL "consteval" |
Definition at line 18 of file InsightsStaticStrings.h.
#define KW_CONSTEXPR "constexpr" |
Definition at line 17 of file InsightsStaticStrings.h.
#define KW_CONSTINIT "constinit" |
Definition at line 19 of file InsightsStaticStrings.h.
#define KW_CONTINUE "continue" |
Definition at line 54 of file InsightsStaticStrings.h.
#define KW_DELETE "delete" |
Definition at line 48 of file InsightsStaticStrings.h.
#define KW_DO "do" |
Definition at line 51 of file InsightsStaticStrings.h.
#define KW_ELIPSIS "..." |
Definition at line 67 of file InsightsStaticStrings.h.
#define KW_ENUM "enum" |
Definition at line 45 of file InsightsStaticStrings.h.
#define KW_EQUALS_DEFAULT "= default;" |
Definition at line 64 of file InsightsStaticStrings.h.
#define KW_EQUALS_DELETE "= delete" |
Definition at line 65 of file InsightsStaticStrings.h.
#define KW_EXPLICIT "explicit" |
Definition at line 41 of file InsightsStaticStrings.h.
#define KW_EXTERN "extern" |
Definition at line 22 of file InsightsStaticStrings.h.
#define KW_FALSE "false" |
Definition at line 68 of file InsightsStaticStrings.h.
#define KW_FINAL "final" |
Definition at line 35 of file InsightsStaticStrings.h.
#define KW_FRIEND "friend" |
Definition at line 40 of file InsightsStaticStrings.h.
#define KW_GOTO "goto" |
Definition at line 53 of file InsightsStaticStrings.h.
#define KW_INLINE "inline" |
Definition at line 28 of file InsightsStaticStrings.h.
#define KW_INTERNAL_THIS "__this" |
Definition at line 66 of file InsightsStaticStrings.h.
#define KW_MUTABLE "mutable" |
Definition at line 57 of file InsightsStaticStrings.h.
#define KW_NAMESPACE "namespace" |
Definition at line 46 of file InsightsStaticStrings.h.
#define KW_NOEXCEPT "noexcept" |
Definition at line 23 of file InsightsStaticStrings.h.
#define KW_NULL "NULL" |
Definition at line 44 of file InsightsStaticStrings.h.
#define KW_NULLPTR "nullptr" |
Definition at line 43 of file InsightsStaticStrings.h.
#define KW_OPERATOR "operator" |
Definition at line 38 of file InsightsStaticStrings.h.
#define KW_PRIVATE "private" |
Definition at line 34 of file InsightsStaticStrings.h.
#define KW_PROTECTED "protected" |
Definition at line 33 of file InsightsStaticStrings.h.
#define KW_PUBLIC "public" |
Definition at line 32 of file InsightsStaticStrings.h.
#define KW_REINTERPRET_CAST "reinterpret_cast" |
Definition at line 30 of file InsightsStaticStrings.h.
#define KW_REQUIRES "requires" |
Definition at line 29 of file InsightsStaticStrings.h.
#define KW_RETURN "return" |
Definition at line 58 of file InsightsStaticStrings.h.
#define KW_SIZEOF "sizeof" |
Definition at line 36 of file InsightsStaticStrings.h.
#define KW_STATIC "static" |
Definition at line 21 of file InsightsStaticStrings.h.
#define KW_STATIC_ASSERT "static_assert" |
Definition at line 59 of file InsightsStaticStrings.h.
#define KW_STATIC_CAST "static_cast" |
Definition at line 31 of file InsightsStaticStrings.h.
#define KW_STRUCT "struct" |
Definition at line 25 of file InsightsStaticStrings.h.
#define KW_SWITCH "switch" |
Definition at line 55 of file InsightsStaticStrings.h.
#define KW_TEMPLATE "template" |
Definition at line 42 of file InsightsStaticStrings.h.
#define KW_TRY "try" |
Definition at line 69 of file InsightsStaticStrings.h.
#define KW_TYPEDEF "typedef" |
Definition at line 70 of file InsightsStaticStrings.h.
#define KW_TYPEID "typeid" |
Definition at line 56 of file InsightsStaticStrings.h.
#define KW_TYPENAME "typename" |
Definition at line 63 of file InsightsStaticStrings.h.
#define KW_UNION "union" |
Definition at line 26 of file InsightsStaticStrings.h.
#define KW_USING "using" |
Definition at line 39 of file InsightsStaticStrings.h.
#define KW_VIRTUAL "virtual" |
Definition at line 27 of file InsightsStaticStrings.h.
#define KW_VOLATILE "volatile" |
Definition at line 20 of file InsightsStaticStrings.h.
#define KW_WHILE "while" |
Definition at line 49 of file InsightsStaticStrings.h.
consteval std::string_view KwWithNoSpace | ( | std::string_view | kw | ) |
Definition at line 94 of file InsightsStaticStrings.h.
consteval std::string_view KwWithSpaceAfter | ( | std::string_view | kw | ) |
Definition at line 87 of file InsightsStaticStrings.h.
consteval std::string_view KwWithSpaceBefore | ( | std::string_view | kw | ) |
Definition at line 80 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 194 of file InsightsStaticStrings.h.
Referenced by clang::insights::EmitGlobalVariableCtors(), and clang::insights::CfrontCodeGenerator::InsertArg().
|
inlineconstexpr |
Definition at line 193 of file InsightsStaticStrings.h.
Referenced by clang::insights::EmitGlobalVariableCtors(), CppInsightASTConsumer::HandleTranslationUnit(), and clang::insights::CfrontCodeGenerator::InsertArg().
|
inlineconstexpr |
Definition at line 190 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 134 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 133 of file InsightsStaticStrings.h.
Referenced by clang::insights::StructuredBindingsCodeGenerator::InsertArg(), clang::insights::CodeGenerator::InsertFunctionNameWithReturnType(), and clang::insights::CodeGenerator::InsertTemplateParameters().
|
inlineconstexpr |
Definition at line 136 of file InsightsStaticStrings.h.
Referenced by clang::insights::CoroutinesCodeGenerator::InsertCoroutine().
|
inlineconstexpr |
Definition at line 135 of file InsightsStaticStrings.h.
Referenced by clang::insights::CoroutinesCodeGenerator::InsertCoroutine().
|
inlineconstexpr |
Definition at line 78 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 110 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertAttribute().
|
inlineconstexpr |
Definition at line 121 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 161 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 169 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertConceptConstraint(), and clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 168 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 145 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetTagDeclTypeName(), and clang::insights::CodeGenerator::InsertTemplateParameters().
|
inlineconstexpr |
Definition at line 166 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 115 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetNoExcept(), clang::insights::CodeGenerator::InsertConceptConstraint(), and clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 159 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 143 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 142 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetQualifiers(), and clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 122 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 164 of file InsightsStaticStrings.h.
Referenced by clang::insights::CoroutinesCodeGenerator::InsertArg().
|
inlineconstexpr |
Definition at line 165 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 153 of file InsightsStaticStrings.h.
Referenced by clang::insights::UsingCodeGenerator::InsertArg(), and clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 119 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 160 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 127 of file InsightsStaticStrings.h.
Referenced by clang::insights::OutputFormatHelper::AppendParameterList(), and clang::insights::Ellipsis().
|
inlineconstexpr |
Definition at line 170 of file InsightsStaticStrings.h.
Referenced by clang::insights::EllipsisSpace(), and clang::insights::CodeGenerator::InsertTemplateParameters().
|
inlineconstexpr |
Definition at line 147 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 131 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 156 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 126 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::GetValueOfValueInit().
|
inlineconstexpr |
Definition at line 155 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 162 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 150 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetQualifiers(), and clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 129 of file InsightsStaticStrings.h.
Referenced by clang::insights::asthelpers::CallConstructor(), clang::insights::GetFieldDeclNameForLambda(), clang::insights::CoroutinesCodeGenerator::InsertArg(), clang::insights::CfrontCodeGenerator::InsertArg(), clang::insights::LambdaCodeGenerator::InsertArg(), clang::insights::CfrontCodeGenerator::InsertCXXMethodDecl(), clang::insights::InsertVtblPtr(), and clang::insights::CoroutineASTTransformer::VisitCXXThisExpr().
|
inlineconstexpr |
Definition at line 163 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 118 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 158 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 102 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 117 of file InsightsStaticStrings.h.
Referenced by clang::insights::CallVecNewOrCtor(), and clang::insights::CfrontCodeGenerator::InsertArg().
|
inlineconstexpr |
Definition at line 116 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::GetValueOfValueInit(), and clang::insights::CodeGenerator::InsertTemplateArg().
|
inlineconstexpr |
Definition at line 112 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetName().
|
inlineconstexpr |
Definition at line 152 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 106 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 105 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 104 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 107 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetCastName(), and clang::insights::GetName().
|
inlineconstexpr |
Definition at line 103 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 151 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertConceptConstraint().
|
inlineconstexpr |
Definition at line 125 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertCXXMethodDecl(), and clang::insights::CodeGenerator::InsertLambdaStaticInvoker().
|
inlineconstexpr |
Definition at line 172 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 109 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 183 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetNoExcept(), and clang::insights::ToDo().
|
inlineconstexpr |
Definition at line 186 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 177 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetConst().
|
inlineconstexpr |
Definition at line 187 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 178 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 181 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 182 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 180 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 176 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetNoExcept().
|
inlineconstexpr |
Definition at line 179 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 128 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 108 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetCastName().
|
inlineconstexpr |
Definition at line 144 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 146 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetTagDeclTypeName().
|
inlineconstexpr |
Definition at line 123 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 114 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertTemplateParameters(), and clang::insights::CodeGenerator::InsertTemplateSpecializationHeader().
|
inlineconstexpr |
Definition at line 157 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertQualifierAndName(), and clang::insights::CodeGenerator::InsertTemplateParameters().
|
inlineconstexpr |
Definition at line 130 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 171 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 173 of file InsightsStaticStrings.h.
Referenced by clang::insights::CfrontCodeGenerator::InsertArg().
|
inlineconstexpr |
Definition at line 124 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 167 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertTemplateParameters().
|
inlineconstexpr |
Definition at line 148 of file InsightsStaticStrings.h.
Referenced by clang::insights::GetTagDeclTypeName().
|
inlineconstexpr |
Definition at line 111 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 154 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 149 of file InsightsStaticStrings.h.
Referenced by clang::insights::CodeGenerator::InsertFunctionNameWithReturnType().
|
inlineconstexpr |
Definition at line 120 of file InsightsStaticStrings.h.
|
inlineconstexpr |
Definition at line 189 of file InsightsStaticStrings.h.