| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | ArrayRefTest.cpp | 148 EXPECT_EQ(Expected, AR1.take_while([](const int &N) { return N % 2 == 1; })); in TEST() 151 AR1.take_while([](const int &N) { return N < 0; })); in TEST() 152 EXPECT_EQ(AR1, AR1.take_while([](const int &N) { return N > 0; })); in TEST()
|
| H A D | StringRefTest.cpp | 1064 StringRef Taken = Test.take_while([](char c) { return ::isdigit(c); }); in TEST() 1070 Taken = Test.take_while([](char c) { return true; }); in TEST() 1077 Taken = Test.take_while([](char c) { return true; }); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Testing/Support/ |
| H A D | Annotations.cpp | 57 Text.take_while([](char C) { return llvm::isAlnum(C) || C == '_'; }); in Annotations()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | FormatVariadic.cpp | 101 StringRef Braces = Fmt.take_while([](char C) { return C == '{'; }); in splitLiteralAndReplacement()
|
| H A D | RISCVISAInfo.cpp | 352 MajorStr = In.take_while(isDigit); in getExtensionVersion() 356 MinorStr = In.take_while(isDigit); in getExtensionVersion()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DefineOutline.cpp | 196 .take_while([&SM, &DelRange](const syntax::Token &Tok) { in getFunctionSourceCode() 331 Toks = Toks.take_while([&TokBuf, &InitStart](const syntax::Token &Tok) { in getDeletionRange()
|
| /llvm-project-15.0.7/libc/utils/HdrGen/ |
| H A D | PublicAPICommand.cpp | 27 llvm::StringRef Indent = L.take_while([](char c) { return c == ' '; }); in dedentAndWrite()
|
| /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/libc/src/__support/CPP/ |
| H A D | StringView.h | 248 template <typename F> StringView take_while(F Function) const { in take_while() function
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | ArrayRef.h | 242 template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const { in take_while() function 427 MutableArrayRef<T> take_while(PredicateT Pred) const { in take_while() function
|
| H A D | StringRef.h | 643 StringRef take_while(function_ref<bool(char)> F) const { in take_while() function
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | llvm-conventions.cpp | 121 StringRef take_while(function_ref<bool(char)> F) const;
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | Parsing.cpp | 166 auto Id = State.Input.take_while( in parseId()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/ |
| H A D | LRGraph.cpp | 105 auto Batch = AllItems.take_while([AdvancedSymbol, &G](const Item &I) { in nextAvailableKernelItems()
|
| H A D | GrammarBNF.cpp | 204 Line = Line.take_while([](char C) { return C != '#'; }); in parse()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | VFABIDemangling.cpp | 385 MangledName.take_while([](char In) { return In != '('; }); in tryDemangleForVFABI()
|
| /llvm-project-15.0.7/libc/test/src/__support/CPP/ |
| H A D | stringview_test.cpp | 169 ASSERT_TRUE(StringView("123abc").take_while(&isDigit).equals("123")); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 830 MatchingParams.drop_front(FI.Head.size()).take_while(IsExpandedPack); in handleCall() 934 Parameters.drop_front(Head.size()).take_while(IsExpandedPack); in resolveForwardingParameters()
|
| H A D | Selection.cpp | 326 auto Batch = ExpandedTokens.take_while([&](const syntax::Token &T) { in test()
|
| H A D | SemanticHighlighting.cpp | 382 TokRef.take_while([&](const HighlightingToken &T) { in collect()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Markup.cpp | 69 assert(Before.take_while(llvm::isSpace).empty()); in needsLeadingEscape()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2490 Mask.take_while([](int MaskElt) { return MaskElt == 0; }).size(); in isReplicationMask()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 6050 Args.take_while([](Expr *Arg) { return !Arg->isTypeDependent(); }); in ProduceCallSignatureHelp()
|