Home
last modified time | relevance | path

Searched refs:isUTF16 (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h212 bool isUTF16() const { return Kind == tok::utf16_char_constant; } in isUTF16() function
285 bool isUTF16() const { return Kind == tok::utf16_string_literal; } in isUTF16() function
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp401 else if (Literal.isUTF16()) in EvaluateValue()
416 else if (Literal.isUTF16() || Literal.isUTF32()) in EvaluateValue()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp6528 bool isUTF16 = false; in GetAddrOfConstantCFString() local
6531 getDataLayout().isLittleEndian(), isUTF16, in GetAddrOfConstantCFString()
6626 Fields.addInt(Int64Ty, isUTF16 ? 0x07d0 : 0x07c8); in GetAddrOfConstantCFString()
6628 Fields.addInt(IntTy, isUTF16 ? 0x07d0 : 0x07C8); in GetAddrOfConstantCFString()
6633 if (isUTF16) { in GetAddrOfConstantCFString()
6650 CharUnits Align = isUTF16 ? Context.getTypeAlignInChars(Context.ShortTy) in GetAddrOfConstantCFString()
6658 GV->setSection(isUTF16 ? "__TEXT,__ustring" in GetAddrOfConstantCFString()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1917 bool isUTF16() const { return getKind() == StringLiteralKind::UTF16; } in isUTF16() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2166 } else if (Literal.isUTF16()) { in ActOnStringLiteral()
3585 else if (Literal.isUTF16()) in ActOnCharacterConstant()
3598 else if (Literal.isUTF16()) in ActOnCharacterConstant()
H A DSemaChecking.cpp6173 bool isUTF16() const { return FExpr->isUTF16(); } in isUTF16() function in __anon28c3fbb11e11::FormatStringLiteral