Home
last modified time | relevance | path

Searched refs:isASCII (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCharInfo.h41 LLVM_READNONE inline bool isASCII(char c) { in isASCII() function
45 LLVM_READNONE inline bool isASCII(unsigned char c) { return c <= 127; } in isASCII() function
48 LLVM_READNONE inline bool isASCII(uint32_t c) { return c <= 127; } in isASCII() function
49 LLVM_READNONE inline bool isASCII(int64_t c) { return 0 <= c && c <= 127; } in isASCII() function
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringExtras.h125 inline bool isASCII(char C) { return static_cast<unsigned char>(C) <= 127; } in isASCII() function
128 inline bool isASCII(llvm::StringRef S) { in isASCII() function
130 if (LLVM_UNLIKELY(!isASCII(C))) in isASCII()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp143 return S.drop_while([](char c) { return isASCII(c) && isWhitespace(c); }); in consumeWhitespace()
160 [](char c) { return isASCII(c) && isAsciiIdentifierContinue(c); }); in parseId()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp1761 if (isASCII(CodePoint)) in diagnoseInvalidUnicodeCodepointInIdentifier()
1794 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUCN()
1846 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUTF8Char()
1898 !PP->isPreprocessedOutput() && !isASCII(*BufferPtr) && in LexUnicodeIdentifierStart()
1980 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) in LexIdentifierContinue()
2106 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) in LexNumericConstant()
2130 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) in LexUDSuffix()
2200 } else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) { in LexUDSuffix()
2614 while (isASCII(C) && C != 0 && // Potentially EOF. in SkipLineComment()
2620 if (!isASCII(C)) { in SkipLineComment()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp697 if (LLVM_LIKELY(isASCII(S))) in isUTF8()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp673 if (!isASCII(Char64)) in TryPrintAsStringLiteral()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1924 if (!isASCII(c)) in containsNonAscii()
1931 if (!isASCII(c) || !c) in containsNonAsciiOrNull()