Home
last modified time | relevance | path

Searched refs:NumDecls (Results 1 – 16 of 16) sorted by relevance

/external/clang/include/clang/AST/
DDeclGroup.h29 unsigned NumDecls; variable
32 DeclGroup() : NumDecls(0) {} in DeclGroup()
36 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
38 unsigned size() const { return NumDecls; } in size()
41 assert (i < NumDecls && "Out-of-bounds access.");
46 assert (i < NumDecls && "Out-of-bounds access.");
68 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument
69 if (NumDecls == 0) in Create()
71 if (NumDecls == 1) in Create()
73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
DASTImporter.h236 unsigned NumDecls);
DDeclObjC.h912 unsigned NumDecls; variable
927 iterator end() const { return ForwardDecls + NumDecls; } in end()
928 unsigned size() const { return NumDecls; } in size()
DDeclBase.h740 static void printGroup(Decl** Begin, unsigned NumDecls,
/external/clang/lib/AST/
DDeclGroup.cpp20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument
21 assert(NumDecls > 1 && "Invalid DeclGroup"); in Create()
22 unsigned Size = sizeof(DeclGroup) + sizeof(Decl*) * NumDecls; in Create()
24 new (Mem) DeclGroup(NumDecls, Decls); in Create()
28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { in DeclGroup()
DDeclObjC.cpp868 NumDecls = Num; in setClassList()
881 assert(NumDecls); in getSourceRange()
882 return SourceRange(getLocation(), ForwardDecls[NumDecls-1].getLocation()); in getSourceRange()
DDeclPrinter.cpp121 void Decl::printGroup(Decl** Begin, unsigned NumDecls, in printGroup() argument
124 if (NumDecls == 1) { in printGroup()
129 Decl** End = Begin + NumDecls; in printGroup()
DASTImporter.cpp4401 unsigned NumDecls) { in HandleNameConflict() argument
/external/clang/test/CodeGen/
Dbyval-memcpy-elim.c4 long NumDecls; member
9 long NumDecls; member
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp297 unsigned NumDecls) { in GenerateCXXGlobalInitFunc() argument
311 for (unsigned i = 0; i != NumDecls; ++i) in GenerateCXXGlobalInitFunc()
DCodeGenFunction.h2292 unsigned NumDecls);
/external/clang/lib/Serialization/
DASTReader.cpp904 unsigned NumDecls = ReadUnalignedLE16(d); in ReadData() local
906 return std::make_pair(Start, Start + NumDecls); in ReadData()
4905 unsigned NumDecls = Record[Idx++]; in ReadUnresolvedSet() local
4906 while (NumDecls--) { in ReadUnresolvedSet()
DASTReaderStmt.cpp1191 unsigned NumDecls = Record[Idx++]; in VisitOverloadExpr() local
1193 for (unsigned i = 0; i != NumDecls; ++i) { in VisitOverloadExpr()
/external/clang/lib/Sema/
DSemaDecl.cpp5918 Decl **Group, unsigned NumDecls) { in FinalizeDeclaratorGroup() argument
5924 for (unsigned i = 0; i != NumDecls; ++i) in FinalizeDeclaratorGroup()
5935 Sema::BuildDeclaratorGroup(Decl **Group, unsigned NumDecls, in BuildDeclaratorGroup() argument
5944 if (TypeMayContainAuto && NumDecls > 1) { in BuildDeclaratorGroup()
5948 for (unsigned i = 0; i != NumDecls; ++i) { in BuildDeclaratorGroup()
5976 return DeclGroupPtrTy::make(DeclGroupRef::Create(Context, Group, NumDecls)); in BuildDeclaratorGroup()
DTreeTransform.h1101 StmtResult RebuildDeclStmt(Decl **Decls, unsigned NumDecls, in RebuildDeclStmt() argument
1104 Sema::DeclGroupPtrTy DG = getSema().BuildDeclaratorGroup(Decls, NumDecls); in RebuildDeclStmt()
/external/clang/include/clang/Sema/
DSema.h1034 unsigned NumDecls);
1035 DeclGroupPtrTy BuildDeclaratorGroup(Decl **Group, unsigned NumDecls,