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 LLVM_ABI 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()
590 if (LLVM_UNLIKELY(!isUTF8(*Owned))) { in ObjectKey()
597 if (LLVM_UNLIKELY(!isUTF8(Data))) { in ObjectKey()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp372 if (isUTF8(StringRef(Start, End - Start), &ErrOffset)) in checkUTF8()
695 bool isUTF8(llvm::StringRef S, size_t *ErrOffset) { in isUTF8() function
889 if (LLVM_LIKELY(isUTF8(Key))) { in attributeBegin()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp204 assert(Lit && (Lit->isOrdinary() || Lit->isUTF8())); in computeOSLogBufferLayout()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStatistics.cpp30 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.cpp1126 Format && (Format->isOrdinary() || Format->isUTF8())) { in ProcessFormatStringLiteral()
5003 if (!Literal || (!Literal->isOrdinary() && !Literal->isUTF8())) { in CheckOSLogFormatStringArg()
6172 bool isUTF8() const { return FExpr->isUTF8(); } in isUTF8() function in __anon28c3fbb11e11::FormatStringLiteral
8837 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
H A DSemaExpr.cpp2160 } else if (Literal.isUTF8()) { in ActOnStringLiteral()
3581 else if (Literal.isUTF8() && getLangOpts().C23) in ActOnCharacterConstant()
3583 else if (Literal.isUTF8() && getLangOpts().Char8) in ActOnCharacterConstant()
3602 else if (Literal.isUTF8()) in ActOnCharacterConstant()
H A DSemaExprObjC.cpp544 assert((SL->isOrdinary() || SL->isUTF8()) && in BuildObjCBoxedExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1916 bool isUTF8() const { return getKind() == StringLiteralKind::UTF8; } in isUTF8() function