Home
last modified time | relevance | path

Searched refs:isSpace (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DStringExtrasTest.cpp27 TEST(StringExtrasTest, isSpace) { in TEST() argument
28 EXPECT_TRUE(isSpace(' ')); in TEST()
29 EXPECT_TRUE(isSpace('\t')); in TEST()
30 EXPECT_TRUE(isSpace('\n')); in TEST()
31 EXPECT_TRUE(isSpace('\v')); in TEST()
32 EXPECT_TRUE(isSpace('\f')); in TEST()
33 EXPECT_TRUE(isSpace('\v')); in TEST()
34 EXPECT_FALSE(isSpace('\0')); in TEST()
35 EXPECT_FALSE(isSpace('_')); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DMarkup.cpp44 .drop_while(llvm::isSpace); in looksLikeTag()
48 if (llvm::isAlnum(Contents.front()) || llvm::isSpace(Contents.front())) in looksLikeTag()
69 assert(Before.take_while(llvm::isSpace).empty()); in needsLeadingEscape()
81 return (After.empty() || llvm::isSpace(After.front())) && in needsLeadingEscape()
82 (Before.empty() || llvm::isSpace(Before.back())); in needsLeadingEscape()
428 C.SpaceBefore = llvm::isSpace(Text.front()); in appendText()
429 C.SpaceAfter = llvm::isSpace(Text.back()); in appendText()
/llvm-project-15.0.7/llvm/tools/split-file/
H A Dsplit-file.cpp88 if (isSpace(partName.front()) || isSpace(partName.back())) { in handle()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseTrailingReturnTypeCheck.cpp373 llvm::isSpace(ReturnType[TOffsetInRT + TLengthWithWS])) in keepSpecifiers()
376 if (!llvm::isSpace(Specifier.back())) in keepSpecifiers()
483 CharAfterReturnType.empty() || !llvm::isSpace(CharAfterReturnType[0]); in check()
/llvm-project-15.0.7/llvm/lib/Support/
H A DFileUtilities.cpp93 while (isSpace(static_cast<unsigned char>(*F1P)) && F1P != F1End) in CompareNumbers()
95 while (isSpace(static_cast<unsigned char>(*F2P)) && F2P != F2End) in CompareNumbers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DParentVirtualCallCheck.cpp79 [](char C) { return llvm::isSpace(static_cast<unsigned char>(C)); }), in getExprAsString()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DYAMLTraits.h680 if (isSpace(static_cast<unsigned char>(S.front())) ||
681 isSpace(static_cast<unsigned char>(S.back())))
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp182 llvm::StringRef Indent = Line.take_while(llvm::isSpace); in printDoc()
/llvm-project-15.0.7/llvm/tools/llvm-rc/
H A DResourceScriptToken.cpp205 while (!streamEof() && isSpace(Data[Pos])) in skipWhitespaces()
/llvm-project-15.0.7/lldb/source/Utility/
H A DStringExtractor.cpp367 while (m_index < n && llvm::isSpace(m_packet[m_index])) in SkipSpaces()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp737 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer()
763 while (LineStart != MemBuf->getBufferEnd() && isSpace(*LineStart)) in checkAllRulesInBuffer()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringExtras.h133 inline bool isSpace(char C) { in isSpace() function
/llvm-project-15.0.7/lldb/source/Core/
H A DIOHandler.cpp347 if (llvm::all_of(line_buffer, llvm::isSpace)) in SplitLineEOF()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp115 if (AtInsnStart && !isSpace(static_cast<unsigned char>(*Str))) { in getInlineAsmLength()
122 while (*EStr != '\n' && isSpace(static_cast<unsigned char>(*EStr))) in getInlineAsmLength()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp977 bool MoreText = !llvm::all_of(Result.str().drop_front(Pos), llvm::isSpace); in abbreviatedString()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp938 llvm::erase_if(Collapsed, isSpace); in isLabel()
990 llvm::erase_if(Collapsed, isSpace); in tryParseRegister()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp761 if (!llvm::isPrint(c) && !llvm::isSpace(c)) { in CheckForPacket()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfReader.cpp165 [](char c) { return isPrint(c) || isSpace(c); }); in hasFormat()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandInterpreter.cpp1536 if (llvm::isSpace(s[pos - 1])) { in FindArgumentTerminator()
1539 if ((pos + 2 >= s_len) || llvm::isSpace(s[pos + 2])) { in FindArgumentTerminator()
/llvm-project-15.0.7/clang/unittests/Analysis/
H A DExprMutationAnalyzerTest.cpp82 [](char c) { return llvm::isSpace(c); }), in removeSpace()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp441 erase_if(Sig, isSpace); in getSignature()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLiteralSupport.cpp554 return llvm::isAlnum(C) || llvm::isSpace(C) || C == '_' || C == '-'; in ProcessNamedUCNEscape()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp96 if (!isSpace((unsigned char)Str[Offset])) { in convertStrToInt()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp1844 if (atInsnStart && !isSpace(static_cast<unsigned char>(*Str))) { in getInlineAsmLength()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DMasmParser.cpp7119 if (isSpace(Argument[End])) in parseDirectiveForc()