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.h213 bool isUTF16() const { return Kind == tok::utf16_char_constant; } in isUTF16() function
286 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.cpp6053 bool isUTF16 = false; in GetAddrOfConstantCFString() local
6056 getDataLayout().isLittleEndian(), isUTF16, in GetAddrOfConstantCFString()
6153 Fields.addInt(Int64Ty, isUTF16 ? 0x07d0 : 0x07c8); in GetAddrOfConstantCFString()
6155 Fields.addInt(IntTy, isUTF16 ? 0x07d0 : 0x07C8); in GetAddrOfConstantCFString()
6160 if (isUTF16) { in GetAddrOfConstantCFString()
6177 CharUnits Align = isUTF16 ? Context.getTypeAlignInChars(Context.ShortTy) in GetAddrOfConstantCFString()
6185 GV->setSection(isUTF16 ? "__TEXT,__ustring" in GetAddrOfConstantCFString()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1877 bool isUTF16() const { return getKind() == StringLiteralKind::UTF16; } in isUTF16() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2076 } else if (Literal.isUTF16()) { in ActOnStringLiteral()
3818 else if (Literal.isUTF16()) in ActOnCharacterConstant()
3831 else if (Literal.isUTF16()) in ActOnCharacterConstant()
H A DSemaChecking.cpp10418 bool isUTF16() const { return FExpr->isUTF16(); } in isUTF16() function in __anon634612791e11::FormatStringLiteral