| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | StringExtrasTest.cpp | 27 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 D | Markup.cpp | 44 .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 D | split-file.cpp | 88 if (isSpace(partName.front()) || isSpace(partName.back())) { in handle()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.cpp | 373 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 D | FileUtilities.cpp | 93 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 D | ParentVirtualCallCheck.cpp | 79 [](char C) { return llvm::isSpace(static_cast<unsigned char>(C)); }), in getExprAsString()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | YAMLTraits.h | 680 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 D | ClangSyntaxEmitter.cpp | 182 llvm::StringRef Indent = Line.take_while(llvm::isSpace); in printDoc()
|
| /llvm-project-15.0.7/llvm/tools/llvm-rc/ |
| H A D | ResourceScriptToken.cpp | 205 while (!streamEof() && isSpace(Data[Pos])) in skipWhitespaces()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | StringExtractor.cpp | 367 while (m_index < n && llvm::isSpace(m_packet[m_index])) in SkipSpaces()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 737 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 D | StringExtras.h | 133 inline bool isSpace(char C) { in isSpace() function
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | IOHandler.cpp | 347 if (llvm::all_of(line_buffer, llvm::isSpace)) in SplitLineEOF()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetInstrInfo.cpp | 115 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 D | Selection.cpp | 977 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 D | HexagonAsmParser.cpp | 938 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 D | GDBRemoteCommunication.cpp | 761 if (!llvm::isPrint(c) && !llvm::isSpace(c)) { in CheckForPacket()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 165 [](char c) { return isPrint(c) || isSpace(c); }); in hasFormat()
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | CommandInterpreter.cpp | 1536 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 D | ExprMutationAnalyzerTest.cpp | 82 [](char c) { return llvm::isSpace(c); }), in removeSpace()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 441 erase_if(Sig, isSpace); in getSignature()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 554 return llvm::isAlnum(C) || llvm::isSpace(C) || C == '_' || C == '-'; in ProcessNamedUCNEscape()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 96 if (!isSpace((unsigned char)Str[Offset])) { in convertStrToInt()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.cpp | 1844 if (atInsnStart && !isSpace(static_cast<unsigned char>(*Str))) { in getInlineAsmLength()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | MasmParser.cpp | 7119 if (isSpace(Argument[End])) in parseDirectiveForc()
|