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.cpp6205 bool isUTF16 = false; in GetAddrOfConstantCFString() local
6208 getDataLayout().isLittleEndian(), isUTF16, in GetAddrOfConstantCFString()
6301 Fields.addInt(Int64Ty, isUTF16 ? 0x07d0 : 0x07c8); in GetAddrOfConstantCFString()
6303 Fields.addInt(IntTy, isUTF16 ? 0x07d0 : 0x07C8); in GetAddrOfConstantCFString()
6308 if (isUTF16) { in GetAddrOfConstantCFString()
6325 CharUnits Align = isUTF16 ? Context.getTypeAlignInChars(Context.ShortTy) in GetAddrOfConstantCFString()
6333 GV->setSection(isUTF16 ? "__TEXT,__ustring" in GetAddrOfConstantCFString()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1905 bool isUTF16() const { return getKind() == StringLiteralKind::UTF16; } in isUTF16() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2057 } else if (Literal.isUTF16()) { in ActOnStringLiteral()
3537 else if (Literal.isUTF16()) in ActOnCharacterConstant()
3550 else if (Literal.isUTF16()) in ActOnCharacterConstant()
H A DSemaChecking.cpp5619 bool isUTF16() const { return FExpr->isUTF16(); } in isUTF16() function in __anon28c3fbb11a11::FormatStringLiteral