Home
last modified time | relevance | path

Searched refs:StringLiteralKind (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp1100 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 DASTContext.cpp12744 *this, Key, StringLiteralKind::Ordinary, in getPredefinedStringLiteralFromCache()
H A DExprConstant.cpp9186 StringLiteral::Create(Info.Ctx, ResultStr, StringLiteralKind::Ordinary, in VisitSYCLUniqueStableNameExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1749 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 DStmt.h76 enum class StringLiteralKind; variable
480 LLVM_PREFERRED_TYPE(StringLiteralKind)
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp448 return StringLiteral::Create(Context, Str, StringLiteralKind::Ordinary, in createEmbedExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp101 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 DSemaExprCXX.cpp4115 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 DSemaExpr.cpp1967 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 DSemaExprObjC.cpp77 S = StringLiteral::Create(Context, StrBuf, StringLiteralKind::Ordinary, in ParseObjCStringLiteral()
H A DSemaChecking.cpp5612 StringLiteralKind getKind() const { return FExpr->getKind(); } in getKind()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp1949 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 DRewriteModernObjC.cpp603 return StringLiteral::Create(*Context, Str, StringLiteralKind::Ordinary, in getStringLiteral()