reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/MachineInstr.h
  173       return makeArrayRef(getTrailingObjects<MachineMemOperand *>(), NumMMOs);
  177       return HasPreInstrSymbol ? getTrailingObjects<MCSymbol *>()[0] : nullptr;
  182                  ? getTrailingObjects<MCSymbol *>()[HasPreInstrSymbol]
  187       return HasHeapAllocMarker ? getTrailingObjects<MDNode *>()[0] : nullptr;
include/llvm/TableGen/Record.h
  263     return makeArrayRef(getTrailingObjects<Record *>(), NumClasses);
  559     return getTrailingObjects<Init *>()[Bit];
  688     return getTrailingObjects<Init *>()[i];
  711     return makeArrayRef(getTrailingObjects<Init *>(), NumValues);
  714   const_iterator begin() const { return getTrailingObjects<Init *>(); }
  955     return getTrailingObjects<Init *>()[Num];
  960     return getTrailingObjects<Init *>()[Num+NumConds];
  964     return makeArrayRef(getTrailingObjects<Init *>(), NumConds);
  968     return makeArrayRef(getTrailingObjects<Init *>()+NumConds, NumConds);
 1241     return getTrailingObjects<Init *>()[i];
 1246   const_iterator args_begin() const { return getTrailingObjects<Init *>(); }
 1345     return getTrailingObjects<Init *>()[Num];
 1350     return getTrailingObjects<StringInit *>()[Num];
 1359     return makeArrayRef(getTrailingObjects<Init *>(), NumArgs);
 1363     return makeArrayRef(getTrailingObjects<StringInit *>(), NumArgNames);
lib/IR/AttributeImpl.h
  221   iterator begin() const { return getTrailingObjects<Attribute>(); }
  275   iterator begin() const { return getTrailingObjects<AttributeSet>(); }
lib/TableGen/Record.cpp
  362   ProfileBitsInit(ID, makeArrayRef(getTrailingObjects<Init *>(), NumBits));
 1764       makeArrayRef(getTrailingObjects<Init *>(), NumConds),
 1765       makeArrayRef(getTrailingObjects<Init *>() + NumConds, NumConds),
 1930   ProfileDagInit(ID, Val, ValName, makeArrayRef(getTrailingObjects<Init *>(), NumArgs), makeArrayRef(getTrailingObjects<StringInit *>(), NumArgNames));
 1930   ProfileDagInit(ID, Val, ValName, makeArrayRef(getTrailingObjects<Init *>(), NumArgs), makeArrayRef(getTrailingObjects<StringInit *>(), NumArgNames));
lib/Transforms/IPO/LowerTypeTests.cpp
  305     return makeArrayRef(getTrailingObjects<MDNode *>(), NTypes);
  327     return makeArrayRef(getTrailingObjects<GlobalTypeMember *>(), NTargets);
tools/clang/include/clang/AST/Decl.h
  165   StringRef getArg() const { return getTrailingObjects<char>(); }
  197   StringRef getName() const { return getTrailingObjects<char>(); }
  198   StringRef getValue() const { return getTrailingObjects<char>() + ValueStart; }
 4169     return getTrailingObjects<ImplicitParamDecl *>();
tools/clang/include/clang/AST/DeclCXX.h
 2394       return *getTrailingObjects<ExplicitSpecifier>();
 2604       *getTrailingObjects<InheritedConstructor>() : InheritedConstructor();
 3462     return llvm::makeArrayRef(getTrailingObjects<NamedDecl *>(), NumExpansions);
 3810     return llvm::makeArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings);
tools/clang/include/clang/AST/DeclFriend.h
  133     return getTrailingObjects<TemplateParameterList *>()[N];
  165                             : getTrailingObjects<TemplateParameterList *>()[0]
tools/clang/include/clang/AST/DeclGroup.h
   47     return getTrailingObjects<Decl *>()[i];
tools/clang/include/clang/AST/DeclObjC.h
  682     return getTrailingObjects<ObjCTypeParamDecl *>();
tools/clang/include/clang/AST/DeclOpenMP.h
   53     return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumVars);
  362     return llvm::makeArrayRef(getTrailingObjects<OMPClause *>(), NumClauses);
  446     return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumVars);
  457     return llvm::makeArrayRef(getTrailingObjects<OMPClause *>(), NumClauses);
tools/clang/include/clang/AST/DeclTemplate.h
  119   const_iterator begin() const { return getTrailingObjects<NamedDecl *>(); }
  168     return HasRequiresClause ? *getTrailingObjects<Expr *>() : nullptr;
  587                ? getTrailingObjects<MemberSpecializationInfo *>()[0]
  709     return getTrailingObjects<FunctionTemplateDecl *>()[I];
  714     return getTrailingObjects<TemplateArgumentLoc>();
 1413         getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>();
 1422         getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>();
 1549     return getTrailingObjects<TemplateParameterList *>()[I];
tools/clang/include/clang/AST/Expr.h
 1244     return *getTrailingObjects<NestedNameSpecifierLoc>();
 1266     return hasFoundDecl() ? *getTrailingObjects<NamedDecl *>() : D;
 1278     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
 1286     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
 1294     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
 1309       getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
 1310           getTrailingObjects<TemplateArgumentLoc>(), List);
 1318     return getTrailingObjects<TemplateArgumentLoc>();
 1326     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
 1721   const char *getStrDataAsChar() const { return getTrailingObjects<char>(); }
 1724     return reinterpret_cast<const uint16_t *>(getTrailingObjects<char>());
 1728     return reinterpret_cast<const uint32_t *>(getTrailingObjects<char>());
 1798   unsigned getLength() const { return *getTrailingObjects<unsigned>(); }
 1835     return getTrailingObjects<SourceLocation>()[TokNum];
 1854     return getTrailingObjects<SourceLocation>();
 1858     return getTrailingObjects<SourceLocation>() + getNumConcatenated();
 1941                ? static_cast<StringLiteral *>(*getTrailingObjects<Stmt *>())
 1962     return const_child_range(getTrailingObjects<Stmt *>(),
 1963                              getTrailingObjects<Stmt *>() + hasFunctionName());
 2293     return getTrailingObjects<OffsetOfNode>()[Idx];
 2312     return getTrailingObjects<Expr *>()[Idx];
 2338         reinterpret_cast<Stmt *const *>(getTrailingObjects<Expr *>());
 2902     return getTrailingObjects<MemberExprNameQualifier>()->FoundDecl;
 2916     return getTrailingObjects<MemberExprNameQualifier>()->QualifierLoc;
 2931     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
 2939     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
 2947     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
 2961       getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
 2962           getTrailingObjects<TemplateArgumentLoc>(), List);
 2971     return getTrailingObjects<TemplateArgumentLoc>();
 2980     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
 4865     return cast<Expr>(getTrailingObjects<Stmt *>()[Idx]);
 4893     Stmt * const *begin = getTrailingObjects<Stmt *>();
 5175     return const_child_range(getTrailingObjects<Stmt *>(),
 5176                              getTrailingObjects<Stmt *>() + getNumExprs());
 5393     return cast<Expr>(getTrailingObjects<Stmt *>()[ControllingIndex]);
 5404         getTrailingObjects<Stmt *>()[AssocExprStartIndex + getResultIndex()]);
 5408     return {reinterpret_cast<Expr *const *>(getTrailingObjects<Stmt *>() +
 5413     return {getTrailingObjects<TypeSourceInfo *>(), NumAssocs};
 5430         cast<Expr>(getTrailingObjects<Stmt *>()[AssocExprStartIndex + I]),
 5431         getTrailingObjects<TypeSourceInfo *>()[I],
 5446     ConstAssociationIterator Begin(getTrailingObjects<Stmt *>() +
 5448                                    getTrailingObjects<TypeSourceInfo *>(),
 5473     return const_child_range(getTrailingObjects<Stmt *>(),
 5474                              getTrailingObjects<Stmt *>() +
 5689     return getTrailingObjects<Expr *>();
tools/clang/include/clang/AST/ExprCXX.h
 1868   Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); }
 2233     return cast_or_null<Expr>(getTrailingObjects<Stmt *>()[arraySizeOffset()]);
 2255     return isParenTypeId() ? getTrailingObjects<SourceRange>()[0]
 2282                ? cast<Expr>(getTrailingObjects<Stmt *>()[initExprOffset()])
 2320     return getTrailingObjects<Stmt *>() + placementNewArgsOffset();
 2333     return getTrailingObjects<Stmt *>();
 2686     return llvm::makeArrayRef(getTrailingObjects<TypeSourceInfo *>(),
 3220     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
 3228     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
 3236     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
 3249       getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
 3250           getTrailingObjects<TemplateArgumentLoc>(), List);
 3257     return getTrailingObjects<TemplateArgumentLoc>();
 3264     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
 3333     return llvm::makeArrayRef(getTrailingObjects<CleanupObject>(),
 3459   const_arg_iterator arg_begin() const { return getTrailingObjects<Expr *>(); }
 3648     return *getTrailingObjects<NamedDecl *>();
 3668     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
 3676     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
 3684     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
 3698       getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
 3699           getTrailingObjects<TemplateArgumentLoc>(), List);
 3708     return getTrailingObjects<TemplateArgumentLoc>();
 3717     return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
 4186     const auto *Args = getTrailingObjects<TemplateArgument>();
 4374   iterator begin() const { return getTrailingObjects<VarDecl *>(); }
 4920     return ArrayRef<TemplateArgument>(getTrailingObjects<TemplateArgument>(),
tools/clang/include/clang/AST/ExprObjC.h
  223     return getTrailingObjects<Expr *>();
  362     const KeyValuePair &KV = getTrailingObjects<KeyValuePair>()[Index];
  366           getTrailingObjects<ExpansionData>()[Index];
 1048   void *getReceiverPointer() const { return *getTrailingObjects<void *>(); }
 1069     return getTrailingObjects<SourceLocation>();
 1390     return reinterpret_cast<const Expr *const *>(getTrailingObjects<void *>() +
tools/clang/include/clang/AST/OpenMPClause.h
  250         static_cast<const T *>(this)->template getTrailingObjects<Expr *>(),
 4347             ->template getTrailingObjects<ValueDecl *>(),
 4371         static_cast<const T *>(this)->template getTrailingObjects<unsigned>(),
 4396         static_cast<const T *>(this)->template getTrailingObjects<unsigned>() +
 4421             ->template getTrailingObjects<MappableComponent>(),
tools/clang/include/clang/AST/Stmt.h
 1370     return getTrailingObjects<Stmt *>();
 1564     return caseStmtIsGNURange() ? *getTrailingObjects<SourceLocation>()
 1582     return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[lhsOffset()]);
 1597                                       getTrailingObjects<Stmt *>()[rhsOffset()])
 1609     return getTrailingObjects<Stmt *>()[subStmtOffset()];
 1638     return const_child_range(getTrailingObjects<Stmt *>(),
 1639                              getTrailingObjects<Stmt *>() +
 1788     return getTrailingObjects<const Attr *>();
 1902     return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[condOffset()]);
 1911     return getTrailingObjects<Stmt *>()[thenOffset()];
 1924     return hasElseStorage() ? getTrailingObjects<Stmt *>()[elseOffset()]
 1961                                  getTrailingObjects<Stmt *>()[varOffset()])
 1971     return hasInitStorage() ? getTrailingObjects<Stmt *>()[initOffset()]
 1985     return hasElseStorage() ? *getTrailingObjects<SourceLocation>()
 2016     return const_child_range(getTrailingObjects<Stmt *>(),
 2017                              getTrailingObjects<Stmt *>() +
 2092     return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[condOffset()]);
 2101     return getTrailingObjects<Stmt *>()[bodyOffset()];
 2114     return hasInitStorage() ? getTrailingObjects<Stmt *>()[initOffset()]
 2152                                  getTrailingObjects<Stmt *>()[varOffset()])
 2199     return const_child_range(getTrailingObjects<Stmt *>(),
 2200                              getTrailingObjects<Stmt *>() +
 2264     return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[condOffset()]);
 2273     return getTrailingObjects<Stmt *>()[bodyOffset()];
 2307                                  getTrailingObjects<Stmt *>()[varOffset()])
 2331     return const_child_range(getTrailingObjects<Stmt *>(),
 2332                              getTrailingObjects<Stmt *>() +
 2663     return hasNRVOCandidate() ? *getTrailingObjects<const VarDecl *>()
tools/clang/include/clang/AST/StmtCXX.h
   82   Stmt *const *getStmts() const { return getTrailingObjects<Stmt *>(); }
  343   Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); }
tools/clang/include/clang/AST/TemplateBase.h
  627     return getTrailingObjects<TemplateArgumentLoc>();
tools/clang/include/clang/AST/Type.h
 2932                ? *getTrailingObjects<const Expr *>()
 3989                ? getTrailingObjects<FunctionTypeExtraBitfields>()
 4005     return *getTrailingObjects<Expr *>();
 4016     return getTrailingObjects<FunctionDecl *>()[0];
 4026     return getTrailingObjects<FunctionDecl *>()[1];
 4056       return *getTrailingObjects<Qualifiers>();
 4074     return getTrailingObjects<QualType>();
 4089         getTrailingObjects<ExceptionType>());
 4104     return ArrayRef<ExtParameterInfo>(getTrailingObjects<ExtParameterInfo>(),
 4114     return getTrailingObjects<ExtParameterInfo>();
 4120       return getTrailingObjects<ExtParameterInfo>()[I];
 4127       return getTrailingObjects<ExtParameterInfo>()[I].getABI();
 4134       return getTrailingObjects<ExtParameterInfo>()[I].isConsumed();
 5256     return ElaboratedTypeBits.HasOwnedTagDecl ? *getTrailingObjects<TagDecl *>()
tools/clang/include/clang/CodeGen/CGFunctionInfo.h
  531     return getTrailingObjects<ArgInfo>();
  538     return getTrailingObjects<ExtParameterInfo>();
tools/clang/include/clang/Sema/ParsedAttr.h
  186     return getTrailingObjects<ArgsUnion>();
  193     return getTrailingObjects<detail::AvailabilityData>();
  305     return *getTrailingObjects<detail::TypeTagForDatatypeData>();
  312     return *getTrailingObjects<ParsedType>();
  323     return *getTrailingObjects<detail::PropertyData>();
tools/clang/lib/AST/Decl.cpp
 4884   const auto *StoredLocs = getTrailingObjects<SourceLocation>();
 4891     return SourceRange(getLocation(), *getTrailingObjects<SourceLocation>());
tools/clang/lib/AST/OpenMPClause.cpp
  298   return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumberOfLoops);
  313   return getTrailingObjects<Expr *>()[NumberOfLoops + NumLoop];
tools/clang/lib/Lex/MacroArgs.cpp
  123   const Token *Start = getTrailingObjects<Token>();
unittests/Support/TrailingObjectsTest.cpp
   38   short get(unsigned Num) const { return getTrailingObjects<short>()[Num]; }
   89     return *getTrailingObjects<short>();
   95     return *getTrailingObjects<double>();