| /llvm-project-15.0.7/clang/test/CodeGenCoroutines/ |
| H A D | coro-halo.cpp | 72 generator<T> take_until(generator<T> &g, T limit) { in take_until() function 94 auto t = take_until(s, 10); in main()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | ArrayRefTest.cpp | 159 EXPECT_EQ(Expected, AR1.take_until([](const int &N) { return N % 2 == 0; })); in TEST() 161 EXPECT_EQ(AR1, AR1.take_until([](const int &N) { return N < 0; })); in TEST() 163 AR1.take_until([](const int &N) { return N > 0; })); in TEST()
|
| H A D | StringRefTest.cpp | 1067 Taken = Test.take_until([](char c) { return ::isdigit(c); }); in TEST() 1073 Taken = Test.take_until([](char c) { return true; }); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | TildeExpressionResolver.cpp | 85 Expr.take_until([](char c) { return path::is_separator(c); }); in ResolveFullPath()
|
| /llvm-project-15.0.7/libc/src/__support/CPP/ |
| H A D | StringView.h | 254 template <typename F> StringView take_until(F Function) const { in take_until() function
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | ArrayRef.h | 248 template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const { in take_until() function 434 MutableArrayRef<T> take_until(PredicateT Pred) const { in take_until() function
|
| H A D | StringRef.h | 650 StringRef take_until(function_ref<bool(char)> F) const { in take_until() function
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | llvm-conventions.cpp | 122 StringRef take_until(function_ref<bool(char)> F) const;
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIRAttr.cpp | 155 .take_until([](char c) { in parseFirRealAttr()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | Parsing.cpp | 184 StringRef Id = State.Input.take_until([](char c) { return c == '"'; }); in parseStringId()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-query/ |
| H A D | QueryParser.cpp | 45 Word = Line.take_until(isWhitespace); in lexWord()
|
| /llvm-project-15.0.7/libc/test/src/__support/CPP/ |
| H A D | stringview_test.cpp | 170 ASSERT_TRUE(StringView("abc123").take_until(&isDigit).equals("abc")); in TEST()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | SectionPriorities.cpp | 306 line = line.take_until([](char c) { return c == '#'; }); // ignore comments in parseOrderFile()
|
| H A D | Driver.cpp | 988 line = line.take_until([](char c) { return c == '#'; }).trim(); in parseSymbolPatternsFile()
|
| H A D | InputFiles.cpp | 1736 StringRef frameworkName = path.take_until([](char c) { return c == '.'; }); in isImplicitlyLinked()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.cpp | 828 FI.Head = MatchingParams.take_until(IsExpandedPack); in handleCall() 932 ArrayRef<const ParmVarDecl *> Head = Parameters.take_until(IsExpandedPack); in resolveForwardingParameters()
|
| H A D | Format.cpp | 74 return Code.take_until([](char C) { return C == '\n'; }); in firstLine()
|
| H A D | IncludeCleaner.cpp | 226 lspLength(Code.drop_front(HashOffset).take_until([](char C) { in getDiagnosticRange()
|
| H A D | SemanticHighlighting.cpp | 427 MainCode.drop_front(*StartOfLine).take_until([](char C) { in collect()
|
| H A D | SourceCode.cpp | 189 Code.substr(StartOfLine).take_until([](char C) { return C == '\n'; }); in positionToOffset()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FindTargetTests.cpp | 43 llvm::StringRef(OS.str()).take_until([](char C) { return C == '\n'; }); in __anond1dea4c80202()
|
| /llvm-project-15.0.7/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 369 SR.take_until([](char C) { return C == '<' || C == '>'; }); in makeHTMLReady() 1584 StringRef Label = BS1.take_until([](char C) { return C == ':'; }); in getBodyContent() 1593 StringRef Line = BS1.take_until([](char C) { return C == '\n'; }); in getBodyContent()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | X86RecognizableInstr.cpp | 31 Mnemonic = Mnemonic.take_until([](char C) { return C == '\t'; }); in getMnemonic()
|
| /llvm-project-15.0.7/llvm/lib/Support/Windows/ |
| H A D | Path.inc | 1368 StringRef Expr = PathStr.take_until([](char c) { return path::is_separator(c); });
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Path.inc | 661 PathStr.take_until([](char c) { return path::is_separator(c); });
|