| /llvm-project-15.0.7/clang-tools-extra/clang-query/ |
| H A D | QueryParser.cpp | 30 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 D | ArrayRefTest.cpp | 112 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 D | StringRefTest.cpp | 1084 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 D | Markup.cpp | 41 .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 D | StringView.h | 260 template <typename F> StringView drop_while(F Function) const { in drop_while() function
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | ArrayRef.h | 216 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 D | StringRef.h | 673 StringRef drop_while(function_ref<bool(char)> F) const { in drop_while() function
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | llvm-conventions.cpp | 125 StringRef drop_while(function_ref<bool(char)> F) const;
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIRAttr.cpp | 154 .drop_while([](char c) { return c == ' ' || c == '\t'; }) in parseFirRealAttr()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | Parsing.cpp | 150 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 D | HeaderGuard.cpp | 285 return Guard.drop_while([](char C) { return C == '_'; }).str(); in sanitizeHeaderGuard()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Class.cpp | 104 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 D | LRGraph.cpp | 102 AllItems = AllItems.drop_while([](const Item &I) { return !I.hasNext(); }); in nextAvailableKernelItems()
|
| /llvm-project-15.0.7/libc/test/src/__support/CPP/ |
| H A D | stringview_test.cpp | 171 ASSERT_TRUE(StringView("123abc").drop_while(&isDigit).equals("abc")); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/ |
| H A D | DirectiveTree.cpp | 133 Tokens = Tokens.drop_front().drop_while( in parseDirective()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorDropLeadUnitDim.cpp | 27 oldShape.drop_while([](int64_t dim) { return dim == 1; }); in trimLeadingOneDims()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | ELFObjectFile.cpp | 337 Arch = Arch.drop_while([](char c) { return c == '_'; }); in getRISCVFeatures()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Parser.cpp | 302 Code = Code.drop_while([](char c) { in consumeWhitespace()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Hover.cpp | 816 llvm::StringRef AfterDigit = Rest.drop_while(llvm::isDigit); in isHardLineBreakIndicator()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/ |
| H A D | Utils.cpp | 630 nLoops - iteratorTypes.drop_while(isParallelIterator).size();
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.cpp | 164 commentLines.push_back(line->drop_while([](char c) { return c == '/'; })); in getDocumentationFor()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AsmPrinter.cpp | 1661 symName = symName.drop_while( in isDialectSymbolSimpleEnoughForPrettyForm()
|