/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 1100 StringLiteralKind SK) { in mapCharByteWidth() 1103 case StringLiteralKind::Ordinary: in mapCharByteWidth() 1104 case StringLiteralKind::UTF8: in mapCharByteWidth() 1107 case StringLiteralKind::Wide: in mapCharByteWidth() 1110 case StringLiteralKind::UTF16: in mapCharByteWidth() 1113 case StringLiteralKind::UTF32: in mapCharByteWidth() 1116 case StringLiteralKind::Unevaluated: in mapCharByteWidth() 1127 StringLiteralKind Kind, bool Pascal, QualType Ty, in StringLiteral() 1137 if (Kind != StringLiteralKind::Unevaluated) { in StringLiteral() 1192 StringLiteralKind Kind, bool Pascal, in Create() [all …]
|
H A D | ASTContext.cpp | 12744 *this, Key, StringLiteralKind::Ordinary, in getPredefinedStringLiteralFromCache()
|
H A D | ExprConstant.cpp | 9186 StringLiteral::Create(Info.Ctx, ResultStr, StringLiteralKind::Ordinary, in VisitSYCLUniqueStableNameExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 1749 enum class StringLiteralKind { enum 1817 StringLiteral(const ASTContext &Ctx, StringRef Str, StringLiteralKind Kind, 1827 StringLiteralKind SK); 1839 StringLiteralKind Kind, bool Pascal, QualType Ty, 1845 StringLiteralKind Kind, bool Pascal, QualType Ty, in Create() 1898 StringLiteralKind getKind() const { in getKind() 1899 return static_cast<StringLiteralKind>(StringLiteralBits.Kind); in getKind() 1902 bool isOrdinary() const { return getKind() == StringLiteralKind::Ordinary; } in isOrdinary() 1903 bool isWide() const { return getKind() == StringLiteralKind::Wide; } in isWide() 1904 bool isUTF8() const { return getKind() == StringLiteralKind::UTF8; } in isUTF8() [all …]
|
H A D | Stmt.h | 76 enum class StringLiteralKind; variable 480 LLVM_PREFERRED_TYPE(StringLiteralKind)
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseInit.cpp | 448 return StringLiteral::Create(Context, Str, StringLiteralKind::Ordinary, in createEmbedExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaInit.cpp | 101 case StringLiteralKind::UTF8: in IsStringInit() 111 case StringLiteralKind::Ordinary: in IsStringInit() 115 return (SL->getKind() == StringLiteralKind::UTF8 && in IsStringInit() 129 case StringLiteralKind::UTF16: in IsStringInit() 137 case StringLiteralKind::UTF32: in IsStringInit() 145 case StringLiteralKind::Wide: in IsStringInit() 153 case StringLiteralKind::Unevaluated: in IsStringInit()
|
H A D | SemaExprCXX.cpp | 4115 case StringLiteralKind::UTF8: in IsStringLiteralToNonConstPointerConversion() 4116 case StringLiteralKind::UTF16: in IsStringLiteralToNonConstPointerConversion() 4117 case StringLiteralKind::UTF32: in IsStringLiteralToNonConstPointerConversion() 4120 case StringLiteralKind::Ordinary: in IsStringLiteralToNonConstPointerConversion() 4123 case StringLiteralKind::Wide: in IsStringLiteralToNonConstPointerConversion() 4126 case StringLiteralKind::Unevaluated: in IsStringLiteralToNonConstPointerConversion()
|
H A D | SemaExpr.cpp | 1967 Context, Literal.GetString(), StringLiteralKind::Unevaluated, false, {}, in ActOnUnevaluatedStringLiteral() 2047 StringLiteralKind Kind = StringLiteralKind::Ordinary; in ActOnStringLiteral() 2050 Kind = StringLiteralKind::Wide; in ActOnStringLiteral() 2056 Kind = StringLiteralKind::UTF8; in ActOnStringLiteral() 2059 Kind = StringLiteralKind::UTF16; in ActOnStringLiteral() 2062 Kind = StringLiteralKind::UTF32; in ActOnStringLiteral() 2071 if (Kind == StringLiteralKind::UTF8 && in ActOnStringLiteral() 3498 SL = StringLiteral::Create(Context, RawChars, StringLiteralKind::Wide, in BuildPredefinedExpr() 3505 SL = StringLiteral::Create(Context, Str, StringLiteralKind::Ordinary, in BuildPredefinedExpr() 3746 StringLiteralKind::Ordinary, in ActOnNumericConstant()
|
H A D | SemaExprObjC.cpp | 77 S = StringLiteral::Create(Context, StrBuf, StringLiteralKind::Ordinary, in ParseObjCStringLiteral()
|
H A D | SemaChecking.cpp | 5612 StringLiteralKind getKind() const { return FExpr->getKind(); } in getKind()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 1949 StringLiteral::Create(A, Str, StringLiteralKind::Ordinary, in VisitObjCEncodeExpr() 1971 StringLiteral::Create(A, ResultStr, StringLiteralKind::Ordinary, in VisitSYCLUniqueStableNameExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 603 return StringLiteral::Create(*Context, Str, StringLiteralKind::Ordinary, in getStringLiteral()
|