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/clang/lib/Tooling/Transformer/
H A DParsing.cpp150 return S.drop_while([](char c) { return isASCII(c) && isWhitespace(c); }); in consumeWhitespace()
167 [](char c) { return isASCII(c) && isAsciiIdentifierContinue(c); }); in parseId()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringExtras.h124 inline bool isASCII(char C) { return static_cast<unsigned char>(C) <= 127; } in isASCII() function
127 inline bool isASCII(llvm::StringRef S) { in isASCII() function
129 if (LLVM_UNLIKELY(!isASCII(C))) in isASCII()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp1742 if (isASCII(CodePoint)) in diagnoseInvalidUnicodeCodepointInIdentifier()
1775 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUCN()
1827 if (isASCII(CodePoint) || isUnicodeWhitespace(CodePoint)) in tryConsumeIdentifierUTF8Char()
1879 !PP->isPreprocessedOutput() && !isASCII(*BufferPtr) && in LexUnicodeIdentifierStart()
1961 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) in LexIdentifierContinue()
2087 if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) in LexNumericConstant()
2111 else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) in LexUDSuffix()
2181 } else if (!isASCII(C) && tryConsumeIdentifierUTF8Char(CurPtr, Result)) { in LexUDSuffix()
2593 while (isASCII(C) && C != 0 && // Potentially EOF. in SkipLineComment()
2599 if (!isASCII(C)) { in SkipLineComment()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp695 if (LLVM_LIKELY(isASCII(S))) in isUTF8()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp663 if (!isASCII(Char64)) in TryPrintAsStringLiteral()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h1912 if (!isASCII(c)) in containsNonAscii()
1919 if (!isASCII(c) || !c) in containsNonAsciiOrNull()