Home
last modified time | relevance | path

Searched refs:isUTF8 (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DLiteralSupport.h211 bool isUTF8() const { return Kind == tok::utf8_char_constant; } in isUTF8() function
284 bool isUTF8() const { return Kind == tok::utf8_string_literal; } in isUTF8() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h85 bool isUTF8(llvm::StringRef S, size_t *ErrOffset = nullptr);
317 if (LLVM_UNLIKELY(!isUTF8(V))) { in Value()
329 if (LLVM_UNLIKELY(!isUTF8(V))) { in Value()
582 if (LLVM_UNLIKELY(!isUTF8(*Owned))) { in ObjectKey()
589 if (LLVM_UNLIKELY(!isUTF8(Data))) { in ObjectKey()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp370 if (isUTF8(StringRef(Start, End - Start), &ErrOffset)) in checkUTF8()
693 bool isUTF8(llvm::StringRef S, size_t *ErrOffset) { in isUTF8() function
887 if (LLVM_LIKELY(isUTF8(Key))) { in attributeBegin()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp205 assert(Lit && (Lit->isOrdinary() || Lit->isUTF8())); in computeOSLogBufferLayout()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStatistics.cpp29 if (LLVM_LIKELY(llvm::json::isUTF8(str))) in EmplaceSafeString()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp418 else if (Literal.isUTF8()) { in EvaluateValue()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1125 Format && (Format->isOrdinary() || Format->isUTF8())) { in ProcessFormatStringLiteral()
4572 if (!Literal || (!Literal->isOrdinary() && !Literal->isUTF8())) { in CheckOSLogFormatStringArg()
5618 bool isUTF8() const { return FExpr->isUTF8(); } in isUTF8() function in __anon28c3fbb11a11::FormatStringLiteral
7817 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
H A DSemaExpr.cpp2051 } else if (Literal.isUTF8()) { in ActOnStringLiteral()
3533 else if (Literal.isUTF8() && getLangOpts().C23) in ActOnCharacterConstant()
3535 else if (Literal.isUTF8() && getLangOpts().Char8) in ActOnCharacterConstant()
3554 else if (Literal.isUTF8()) in ActOnCharacterConstant()
H A DSemaExprObjC.cpp546 assert((SL->isOrdinary() || SL->isUTF8()) && in BuildObjCBoxedExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1904 bool isUTF8() const { return getKind() == StringLiteralKind::UTF8; } in isUTF8() function