Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CodeGenCoroutines/
H A Dcoro-halo.cpp72 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 DArrayRefTest.cpp159 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 DStringRefTest.cpp1067 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 DTildeExpressionResolver.cpp85 Expr.take_until([](char c) { return path::is_separator(c); }); in ResolveFullPath()
/llvm-project-15.0.7/libc/src/__support/CPP/
H A DStringView.h254 template <typename F> StringView take_until(F Function) const { in take_until() function
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DArrayRef.h248 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 DStringRef.h650 StringRef take_until(function_ref<bool(char)> F) const { in take_until() function
/llvm-project-15.0.7/clang/test/Analysis/
H A Dllvm-conventions.cpp122 StringRef take_until(function_ref<bool(char)> F) const;
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIRAttr.cpp155 .take_until([](char c) { in parseFirRealAttr()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DParsing.cpp184 StringRef Id = State.Input.take_until([](char c) { return c == '"'; }); in parseStringId()
/llvm-project-15.0.7/clang-tools-extra/clang-query/
H A DQueryParser.cpp45 Word = Line.take_until(isWhitespace); in lexWord()
/llvm-project-15.0.7/libc/test/src/__support/CPP/
H A Dstringview_test.cpp170 ASSERT_TRUE(StringView("abc123").take_until(&isDigit).equals("abc")); in TEST()
/llvm-project-15.0.7/lld/MachO/
H A DSectionPriorities.cpp306 line = line.take_until([](char c) { return c == '#'; }); // ignore comments in parseOrderFile()
H A DDriver.cpp988 line = line.take_until([](char c) { return c == '#'; }).trim(); in parseSymbolPatternsFile()
H A DInputFiles.cpp1736 StringRef frameworkName = path.take_until([](char c) { return c == '.'; }); in isImplicitlyLinked()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp828 FI.Head = MatchingParams.take_until(IsExpandedPack); in handleCall()
932 ArrayRef<const ParmVarDecl *> Head = Parameters.take_until(IsExpandedPack); in resolveForwardingParameters()
H A DFormat.cpp74 return Code.take_until([](char C) { return C == '\n'; }); in firstLine()
H A DIncludeCleaner.cpp226 lspLength(Code.drop_front(HashOffset).take_until([](char C) { in getDiagnosticRange()
H A DSemanticHighlighting.cpp427 MainCode.drop_front(*StartOfLine).take_until([](char C) { in collect()
H A DSourceCode.cpp189 Code.substr(StartOfLine).take_until([](char C) { return C == '\n'; }); in positionToOffset()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp43 llvm::StringRef(OS.str()).take_until([](char C) { return C == '\n'; }); in __anond1dea4c80202()
/llvm-project-15.0.7/llvm/lib/Passes/
H A DStandardInstrumentations.cpp369 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 DX86RecognizableInstr.cpp31 Mnemonic = Mnemonic.take_until([](char C) { return C == '\t'; }); in getMnemonic()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc1368 StringRef Expr = PathStr.take_until([](char c) { return path::is_separator(c); });
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc661 PathStr.take_until([](char c) { return path::is_separator(c); });