| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclContextInternals.h | 59 NewTail = &Node->Rest; in erase_if() 60 List = Node->Rest; in erase_if() 65 List = N->Rest; in erase_if() 103 List = ToDealloc->Rest; in MaybeDeallocList() 199 Tail = &Node->Rest; in replaceExternalDecls() 203 Node->Rest = DeclsAsList; in replaceExternalDecls() 233 Node->Rest = D; in addOrReplaceDecl() 250 N->Rest = D; in addOrReplaceDecl() 257 N->Rest = Node; in addOrReplaceDecl() 258 Node->Rest = D; in addOrReplaceDecl() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/ |
| H A D | RefactoringActionRulesInternal.h | 29 void ignoreError(Expected<FirstT> &First, Expected<RestT> &... Rest) { in ignoreError() argument 32 ignoreError(Rest...); in ignoreError() 38 llvm::Error findError(Expected<FirstT> &First, Expected<RestT> &... Rest) { in findError() argument 40 ignoreError(Rest...); in findError() 43 return findError(Rest...); in findError() 72 const FirstT &First, const RestT &... Rest) { in visitRefactoringOptionsImpl() 83 return visitRefactoringOptionsImpl(Visitor, Rest...); in visitRefactoringOptionsImpl() 96 template <typename Base, typename First, typename... Rest> 98 HasBaseOf<Base, Rest...>::value, 106 template <typename Base, typename First, typename... Rest> [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.variadic/ |
| H A D | partial-ordering.cpp | 34 template<typename T1, typename T2, typename ...Rest> 35 int &f0(T1, T2, Rest...); 45 template<typename T1, typename T2, typename ...Rest> 46 int &f1(T1, T2, Rest...); 55 template<typename T1, typename T2, typename ...Rest> 56 int &f2(T1, T2, Rest...);
|
| H A D | metafunctions.cpp | 98 template<int First, int ...Rest> 99 struct sum<First, Rest...> { 100 static const int value = First + sum<Rest...>::value;
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.arg/temp.arg.template/ |
| H A D | p3-0x.cpp | 5 template <template <class, class...> class TT, class T1, class... Rest> 6 struct eval<TT<T1, Rest...>> { }; 21 template<int I, int J, int ...Rest> struct X0a; 22 template<int ...Rest> struct X0b; 32 template<int I, int J, int ...Rest> struct X1a; 33 template<long I, long ...Rest> struct X1b;
|
| /llvm-project-15.0.7/lldb/source/Host/linux/ |
| H A D | Host.cpp | 66 llvm::StringRef Rest = BufferOrError.get()->getBuffer(); in GetStatusInfo() local 67 while (!Rest.empty()) { in GetStatusInfo() 69 std::tie(Line, Rest) = Rest.split('\n'); in GetStatusInfo() 159 llvm::StringRef Arg0, Rest; in GetProcessArgs() local 160 std::tie(Arg0, Rest) = Cmdline->getBuffer().split('\0'); in GetProcessArgs() 162 while (!Rest.empty()) { in GetProcessArgs() 164 std::tie(Arg, Rest) = Rest.split('\0'); in GetProcessArgs() 203 llvm::StringRef Rest = Environ->getBuffer(); in GetProcessEnviron() local 204 while (!Rest.empty()) { in GetProcessEnviron() 206 std::tie(Var, Rest) = Rest.split('\0'); in GetProcessEnviron()
|
| /llvm-project-15.0.7/pstl/test/support/ |
| H A D | utils.h | 833 op(std::forward<Rest>(rest)...); 951 Rest&&... rest) 971 typename... Rest> 1038 Rest&&... rest) 1058 typename... Rest> 1076 template <typename... Rest> 1078 operator()(Rest&&...) 1086 template <typename... Rest> 1088 operator()(Rest&&... rest) 1103 template <typename... Rest> [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FileDistance.cpp | 71 llvm::StringRef Rest = Canonical; in FileDistance() local 72 llvm::hash_code Hash = llvm::hash_value(Rest); in FileDistance() 73 for (unsigned I = 0; !Rest.empty(); ++I) { in FileDistance() 74 Rest = parent_path(Rest, llvm::sys::path::Style::posix); in FileDistance() 75 auto NextHash = llvm::hash_value(Rest); in FileDistance() 124 for (llvm::StringRef Rest = Canonical; !Rest.empty(); in distance() local 125 Rest = parent_path(Rest, llvm::sys::path::Style::posix)) { in distance() 126 auto Hash = llvm::hash_value(Rest); in distance()
|
| H A D | Hover.cpp | 792 bool isParagraphBreak(llvm::StringRef Rest) { in isParagraphBreak() argument 793 return Rest.ltrim(" \t").startswith("\n"); in isParagraphBreak() 808 Rest = Rest.ltrim(" \t"); in isHardLineBreakIndicator() 809 if (Rest.empty()) in isHardLineBreakIndicator() 812 if (LinebreakIndicators.contains(Rest.front())) in isHardLineBreakIndicator() 815 if (llvm::isDigit(Rest.front())) { in isHardLineBreakIndicator() 1238 llvm::StringRef Line, Rest; in parseDocumentation() local 1239 for (std::tie(Line, Rest) = Input.split('\n'); in parseDocumentation() 1240 !(Line.empty() && Rest.empty()); in parseDocumentation() 1241 std::tie(Line, Rest) = Rest.split('\n')) { in parseDocumentation() [all …]
|
| H A D | Format.cpp | 78 llvm::StringRef Rest = Code; in lastLine() local 79 while (!Rest.empty() && Rest.back() != '\n') in lastLine() 80 Rest = Rest.drop_back(); in lastLine() 81 return Code.substr(Rest.size()); in lastLine()
|
| H A D | PathMapping.cpp | 170 llvm::StringRef ClientPath, ServerPath, PathPair, Rest = RawPathMappings; in parsePathMappings() local 172 while (!Rest.empty()) { in parsePathMappings() 173 std::tie(PathPair, Rest) = Rest.split(","); in parsePathMappings()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 279 Rest = Split.second; in parseSpecifier() 315 if (Rest.empty()) in parseSpecifier() 327 if (Rest.empty()) in parseSpecifier() 344 if (!Rest.empty()) { in parseSpecifier() 354 if (!Rest.empty()) { in parseSpecifier() 393 if (Rest.empty()) in parseSpecifier() 412 if (!Rest.empty()) { in parseSpecifier() 440 if (Rest.empty()) in parseSpecifier() 495 if (Rest.empty()) in parseSpecifier() 497 if (Rest.size() > 1) in parseSpecifier() [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | string_util.h | 28 template <class First, class... Rest> 29 inline std::ostream& StrCatImp(std::ostream& out, First&& f, Rest&&... rest) { in StrCatImp() 31 return StrCatImp(out, std::forward<Rest>(rest)...); in StrCatImp()
|
| /llvm-project-15.0.7/llvm/lib/FileCheck/ |
| H A D | FileCheck.cpp | 1704 return {Ret, Rest}; in FindCheckType() 1711 Rest = Rest.ltrim(); in FindCheckType() 1717 Rest = Rest.ltrim(); in FindCheckType() 1721 return {Ret, Rest}; in FindCheckType() 1725 if (Rest.consume_front(":")) in FindCheckType() 1727 if (Rest.front() == '{') in FindCheckType() 1742 if (Rest.front() != ':' && Rest.front() != '{') in FindCheckType() 1749 if (Rest.startswith("DAG-NOT:") || Rest.startswith("NOT-DAG:") || in FindCheckType() 1750 Rest.startswith("NEXT-NOT:") || Rest.startswith("NOT-NEXT:") || in FindCheckType() 1751 Rest.startswith("SAME-NOT:") || Rest.startswith("NOT-SAME:") || in FindCheckType() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Visitors.h | 101 template <typename Ret, typename Arg, typename... Rest> 102 Arg first_argument_type(Ret (*)(Arg, Rest...)); 103 template <typename Ret, typename F, typename Arg, typename... Rest> 104 Arg first_argument_type(Ret (F::*)(Arg, Rest...)); 105 template <typename Ret, typename F, typename Arg, typename... Rest> 106 Arg first_argument_type(Ret (F::*)(Arg, Rest...) const);
|
| H A D | Attributes.h | 51 template <typename First, typename Second, typename... Rest> 53 template <typename First, typename... Rest> 119 template <typename First, typename Second, typename... Rest> 121 return isa<First>() || isa<Second, Rest...>(); in isa() 124 template <typename First, typename... Rest> 126 return impl && isa<First, Rest...>(); in isa_and_nonnull()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscoveryTest.cpp | 115 TypeIndex TI, Indices &&... Rest) const { in checkTypeReferencesImpl() 120 std::forward<Indices>(Rest)...); in checkTypeReferencesImpl() 141 template <typename RecType, typename... Rest> 142 void writeFieldListImpl(RecType &&Record, Rest &&... Records) { in writeFieldListImpl() 144 writeFieldListImpl(std::forward<Rest>(Records)...); in writeFieldListImpl() 150 template <typename RecType, typename... Rest> 151 void writeTypeRecordsImpl(RecType &&Record, Rest &&... Records) { in writeTypeRecordsImpl() 153 writeTypeRecordsImpl(std::forward<Rest>(Records)...); in writeTypeRecordsImpl() 159 template <typename RecType, typename... Rest> 160 void writeSymbolRecordsImpl(RecType &&Record, Rest &&... Records) { in writeSymbolRecordsImpl() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TestTU.cpp | 228 StringRef Cur, Rest; in findDecl() local 229 for (std::tie(Cur, Rest) = QName.split("::"); !Rest.empty(); in findDecl() 230 std::tie(Cur, Rest) = Rest.split("::")) { in findDecl()
|
| /llvm-project-15.0.7/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 233 StringRef Rest = R; in run() local 235 std::tie(FileName, Rest) = Rest.split(','); in run() 236 if (Rest.empty()) { in run() 240 std::tie(SymbolName, Rest) = Rest.split(','); in run() 242 for (char C : Rest) { in run()
|
| /llvm-project-15.0.7/clang/test/Analysis/Inputs/ |
| H A D | llvm.h | 24 template <typename First, typename Second, typename... Rest, typename Y> 26 return isa<First>(Val) || isa<Second, Rest...>(Val); in isa()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | poisoned_hash_helper.h | 207 template <class First, class ...Rest> 208 struct TypeList<First, Rest...> { 212 return TypeList<Rest...>::template assertTrait<Trait, Expect>(); 218 TypeList<Rest...>::template applyTrait<Trait>();
|
| /llvm-project-15.0.7/llvm/tools/llvm-ar/ |
| H A D | llvm-ar.cpp | 1184 StringRef CommandStr, Rest; in runMRIScript() local 1185 std::tie(CommandStr, Rest) = Line.split(' '); in runMRIScript() 1186 Rest = Rest.trim(); in runMRIScript() 1187 if (!Rest.empty() && Rest.front() == '"' && Rest.back() == '"') in runMRIScript() 1188 Rest = Rest.drop_front().drop_back(); in runMRIScript() 1203 object::Archive &Lib = readLibrary(Rest); in runMRIScript() 1217 addMember(NewMembers, Rest); in runMRIScript() 1228 ArchiveName = std::string(Rest); in runMRIScript() 1234 return comparePaths(M.MemberName, Rest); in runMRIScript()
|
| /llvm-project-15.0.7/clang/test/CXX/stmt.stmt/stmt.select/stmt.if/ |
| H A D | p2.cpp | 8 template <typename T, typename... Rest> void g(T &&p, Rest &&... rs) { in g()
|
| /llvm-project-15.0.7/mlir/test/Pass/ |
| H A D | pass-timing.mlir | 26 // PIPELINE-NEXT: Rest 48 // MT_PIPELINE-NEXT: Rest 63 // NESTED_PIPELINE-NEXT: Rest
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | SampleProfReader.cpp | 168 StringRef Rest = Input.substr(n1 + 2); in ParseLine() local 169 if (isDigit(Rest[0])) { in ParseLine() 171 size_t n3 = Rest.find(' '); in ParseLine() 173 if (Rest.getAsInteger(10, NumSamples)) in ParseLine() 192 n3 += Rest.substr(n3).find_first_not_of(' '); in ParseLine() 193 Rest = Rest.substr(n3); in ParseLine() 194 n3 = Rest.find_first_of(':'); in ParseLine() 204 Target = Rest.substr(0, n3); in ParseLine() 221 if (n4 == Rest.size()) in ParseLine() 228 size_t n3 = Rest.find_last_of(':'); in ParseLine() [all …]
|