Home
last modified time | relevance | path

Searched refs:NextInContextAndBits (Results 1 – 4 of 4) sorted by relevance

/external/clang/include/clang/AST/
DDeclBase.h221 llvm::PointerIntPair<Decl *, 2, unsigned> NextInContextAndBits; variable
335 : NextInContextAndBits(), DeclCtx(DC), in Decl()
346 : NextInContextAndBits(), DeclKind(DK), InvalidDecl(0), in Decl()
391 Decl *getNextDeclInContext() { return NextInContextAndBits.getPointer(); } in getNextDeclInContext()
392 const Decl *getNextDeclInContext() const {return NextInContextAndBits.getPointer();} in getNextDeclInContext()
551 return NextInContextAndBits.getInt() & TopLevelDeclInObjCContainerFlag; in isTopLevelDeclInObjCContainer()
555 unsigned Bits = NextInContextAndBits.getInt();
560 NextInContextAndBits.setInt(Bits);
566 return NextInContextAndBits.getInt() & ModulePrivateFlag; in isModulePrivate()
580 unsigned Bits = NextInContextAndBits.getInt();
[all …]
/external/clang/lib/AST/
DDeclBase.cpp1084 PrevDecl->NextInContextAndBits.setPointer(D); in BuildDeclChain()
1135 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()
1221 (D->NextInContextAndBits.getPointer() || D == LastDecl)); in containsDecl()
1227 assert((D->NextInContextAndBits.getPointer() || D == LastDecl) && in removeDecl()
1235 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()
1237 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()
1239 if (I->NextInContextAndBits.getPointer() == D) { in removeDecl()
1240 I->NextInContextAndBits.setPointer(D->NextInContextAndBits.getPointer()); in removeDecl()
1248 D->NextInContextAndBits.setPointer(nullptr); in removeDecl()
1277 LastDecl->NextInContextAndBits.setPointer(D); in addHiddenDecl()
/external/llvm-project/clang/lib/AST/
DDeclBase.cpp1317 PrevDecl->NextInContextAndBits.setPointer(D); in BuildDeclChain()
1368 ExternalLast->NextInContextAndBits.setPointer(FirstDecl); in LoadLexicalDeclsFromExternalStorage()
1453 (D->NextInContextAndBits.getPointer() || D == LastDecl)); in containsDecl()
1504 assert((D->NextInContextAndBits.getPointer() || D == LastDecl) && in removeDecl()
1512 FirstDecl = D->NextInContextAndBits.getPointer(); in removeDecl()
1514 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) { in removeDecl()
1516 if (I->NextInContextAndBits.getPointer() == D) { in removeDecl()
1517 I->NextInContextAndBits.setPointer(D->NextInContextAndBits.getPointer()); in removeDecl()
1525 D->NextInContextAndBits.setPointer(nullptr); in removeDecl()
1562 LastDecl->NextInContextAndBits.setPointer(D); in addHiddenDecl()
/external/llvm-project/clang/include/clang/AST/
DDeclBase.h245 llvm::PointerIntPair<Decl *, 2, ModuleOwnershipKind> NextInContextAndBits;
381 : NextInContextAndBits(nullptr, getModuleOwnershipKindForChildOf(DC)), in Decl()
436 Decl *getNextDeclInContext() { return NextInContextAndBits.getPointer(); } in getNextDeclInContext()
437 const Decl *getNextDeclInContext() const {return NextInContextAndBits.getPointer();} in getNextDeclInContext()
802 return NextInContextAndBits.getInt(); in getModuleOwnershipKind()
811 NextInContextAndBits.setInt(MOK); in setModuleOwnershipKind()
2406 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl || in isDeclInLexicalTraversal()