Home
last modified time | relevance | path

Searched refs:drop_while (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-query/
H A DQueryParser.cpp30 Line = Line.drop_while([](char c) { in lexWord()
154 StringRef ExtraTrimmed = Extra.drop_while( in endQuery()
165 Line = Line.drop_while([](char c) { return c == '\n'; }); in endQuery()
239 Line = Line.drop_while([](char c) { return c == '\n'; }); in doParse()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DArrayRefTest.cpp112 EXPECT_EQ(Expected, AR1.drop_while([](const int &N) { return N % 2 == 1; })); in TEST()
114 EXPECT_EQ(AR1, AR1.drop_while([](const int &N) { return N < 0; })); in TEST()
116 AR1.drop_while([](const int &N) { return N > 0; })); in TEST()
H A DStringRefTest.cpp1084 StringRef Taken = Test.drop_while([](char c) { return ::isdigit(c); }); in TEST()
1090 Taken = Test.drop_while([](char c) { return true; }); in TEST()
1097 Taken = EmptyString.drop_while([](char c) { return true; }); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DMarkup.cpp41 .drop_while([](char C) { in looksLikeTag()
44 .drop_while(llvm::isSpace); in looksLikeTag()
227 Children = Children.drop_while( in renderBlocks()
/llvm-project-15.0.7/libc/src/__support/CPP/
H A DStringView.h260 template <typename F> StringView drop_while(F Function) const { in drop_while() function
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DArrayRef.h216 template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const { in drop_while() function
399 MutableArrayRef<T> drop_while(PredicateT Pred) const { in drop_while() function
H A DStringRef.h673 StringRef drop_while(function_ref<bool(char)> F) const { in drop_while() function
/llvm-project-15.0.7/clang/test/Analysis/
H A Dllvm-conventions.cpp125 StringRef drop_while(function_ref<bool(char)> F) const;
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIRAttr.cpp154 .drop_while([](char c) { return c == ' ' || c == '\t'; }) in parseFirRealAttr()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DParsing.cpp150 return S.drop_while([](char c) { return isASCII(c) && isWhitespace(c); }); in consumeWhitespace()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DHeaderGuard.cpp285 return Guard.drop_while([](char C) { return C == '_'; }).str(); in sanitizeHeaderGuard()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp104 auto bodyRef = StringRef(body).drop_while([](char c) { return c == '\n'; }); in writeTo()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/
H A DLRGraph.cpp102 AllItems = AllItems.drop_while([](const Item &I) { return !I.hasNext(); }); in nextAvailableKernelItems()
/llvm-project-15.0.7/libc/test/src/__support/CPP/
H A Dstringview_test.cpp171 ASSERT_TRUE(StringView("123abc").drop_while(&isDigit).equals("abc")); in TEST()
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/
H A DDirectiveTree.cpp133 Tokens = Tokens.drop_front().drop_while( in parseDirective()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDropLeadUnitDim.cpp27 oldShape.drop_while([](int64_t dim) { return dim == 1; }); in trimLeadingOneDims()
/llvm-project-15.0.7/llvm/lib/Object/
H A DELFObjectFile.cpp337 Arch = Arch.drop_while([](char c) { return c == '_'; }); in getRISCVFeatures()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp302 Code = Code.drop_while([](char c) { in consumeWhitespace()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHover.cpp816 llvm::StringRef AfterDigit = Rest.drop_while(llvm::isDigit); in isHardLineBreakIndicator()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/
H A DUtils.cpp630 nLoops - iteratorTypes.drop_while(isParallelIterator).size();
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp164 commentLines.push_back(line->drop_while([](char c) { return c == '/'; })); in getDocumentationFor()
/llvm-project-15.0.7/mlir/lib/IR/
H A DAsmPrinter.cpp1661 symName = symName.drop_while( in isDialectSymbolSimpleEnoughForPrettyForm()