Home
last modified time | relevance | path

Searched refs:DeclBits (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp362 BitsPacker DeclBits; in VisitDecl() local
373 DeclBits.addBits((uint64_t)D->getModuleOwnershipKind(), /*BitWidth=*/3); in VisitDecl()
374 DeclBits.addBit(D->isReferenced()); in VisitDecl()
375 DeclBits.addBit(D->isUsed(false)); in VisitDecl()
376 DeclBits.addBits(D->getAccess(), /*BitWidth=*/2); in VisitDecl()
377 DeclBits.addBit(D->isImplicit()); in VisitDecl()
378 DeclBits.addBit(D->getDeclContext() != D->getLexicalDeclContext()); in VisitDecl()
379 DeclBits.addBit(D->hasAttrs()); in VisitDecl()
380 DeclBits.addBit(D->isTopLevelDeclInObjCContainer()); in VisitDecl()
381 DeclBits.addBit(D->isInvalidDecl()); in VisitDecl()
[all …]
H A DASTReaderDecl.cpp580 BitsUnpacker DeclBits(Record.readInt()); in VisitDecl() local
582 (Decl::ModuleOwnershipKind)DeclBits.getNextBits(/*Width=*/3); in VisitDecl()
583 D->setReferenced(DeclBits.getNextBit()); in VisitDecl()
584 D->Used = DeclBits.getNextBit(); in VisitDecl()
586 D->setAccess((AccessSpecifier)DeclBits.getNextBits(/*Width=*/2)); in VisitDecl()
587 D->setImplicit(DeclBits.getNextBit()); in VisitDecl()
588 bool HasStandaloneLexicalDC = DeclBits.getNextBit(); in VisitDecl()
589 bool HasAttrs = DeclBits.getNextBit(); in VisitDecl()
590 D->setTopLevelDeclInObjCContainer(DeclBits.getNextBit()); in VisitDecl()
591 D->InvalidDecl = DeclBits.getNextBit(); in VisitDecl()