Searched refs:isUTF8 (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLiteralSupport.h195 bool isUTF8() const { return Kind == tok::utf8_char_constant; } function in class:clang::CharLiteralParser
260 bool isUTF8() const { return Kind == tok::utf8_string_literal; } function in class:clang::StringLiteralParser
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DJSON.h70 // Callers can use json::isUTF8() and json::fixUTF8() for validation.
77 bool isUTF8(llvm::StringRef S, size_t *ErrOffset = nullptr);
80 /// This is much slower than isUTF8, so test that first.
318 if (LLVM_UNLIKELY(!isUTF8(V))) {
330 if (LLVM_UNLIKELY(!isUTF8(V))) {
494 /// Like Value, strings must be UTF-8. See isUTF8 documentation for details.
499 if (LLVM_UNLIKELY(!isUTF8(*Owned))) {
506 if (LLVM_UNLIKELY(!isUTF8(Data))) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DOSLog.cpp204 assert(Lit && (Lit->isAscii() || Lit->isUTF8()));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DJSON.cpp367 if (isUTF8(StringRef(Start, End - Start), &ErrOffset))
678 bool isUTF8(llvm::StringRef S, size_t *ErrOffset) { function in namespace:llvm::json
870 if (LLVM_LIKELY(isUTF8(Key))) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp624 if (!Format->isAscii() && !Format->isUTF8())
5881 if (!Literal || (!Literal->isAscii() && !Literal->isUTF8())) {
7229 bool isUTF8() const { return FExpr->isUTF8(); } function in class:__anon768::FormatStringLiteral
9250 if (!FExpr->isAscii() && !FExpr->isUTF8()) {
H A DSemaExprObjC.cpp536 assert((SL->isAscii() || SL->isUTF8()) &&
H A DSemaExpr.cpp1806 } else if (Literal.isUTF8()) {
3541 else if (Literal.isUTF8() && getLangOpts().Char8)
3559 else if (Literal.isUTF8())
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExpr.h1878 bool isUTF8() const { return getKind() == UTF8; }

Completed in 380 milliseconds