Home
last modified time | relevance | path

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

/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
/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp400 else if (Literal.isUTF16()) in EvaluateValue()
415 else if (Literal.isUTF16() || Literal.isUTF32()) in EvaluateValue()
/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp6322 bool isUTF16 = false; in GetAddrOfConstantCFString()
6325 getDataLayout().isLittleEndian(), isUTF16, in GetAddrOfConstantCFString()
6418 Fields.addInt(Int64Ty, isUTF16 ? 0x07d0 : 0x07c8); in GetConstantArrayFromStringLiteral()
6420 Fields.addInt(IntTy, isUTF16 ? 0x07d0 : 0x07C8); in GetConstantArrayFromStringLiteral()
6425 if (isUTF16) { in GetConstantArrayFromStringLiteral()
6442 CharUnits Align = isUTF16 ? Context.getTypeAlignInChars(Context.ShortTy)
6450 GV->setSection(isUTF16 ? "__TEXT,__ustring" in GenerateStringLiteral()
6183 bool isUTF16 = false; GetAddrOfConstantCFString() local
/llvm-project/clang/include/clang/AST/
H A DExpr.h1905 bool isUTF16() const { return getKind() == StringLiteralKind::UTF16; } in isUTF16() function
/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp2088 } else if (Literal.isUTF16()) { in ActOnStringLiteral()
3570 else if (Literal.isUTF16())
3583 else if (Literal.isUTF16()) in BuildFloatingLiteral()
H A DSemaChecking.cpp5880 bool isUTF16() const { return FExpr->isUTF16(); } in checkFormatStringExpr()
5615 bool isUTF16() const { return FExpr->isUTF16(); } isUTF16() function in __anond0e4d2a41a11::FormatStringLiteral