Searched refs:InitStorage (Results 1 – 4 of 4) sorted by relevance
2332 llvm::PointerIntPair<void *, 2, InitStorageKind> InitStorage; variable2340 InitStorage(BW, (InitStorageKind) InitStyle) { in FieldDecl()2362 return InitStorage.getInt() == ISK_BitWidthOrNothing && in isBitField()2363 InitStorage.getPointer() != nullptr; in isBitField()2377 ? static_cast<Expr *>(InitStorage.getPointer()) in getBitWidth()2385 assert(InitStorage.getInt() == ISK_BitWidthOrNothing && in setBitWidth()2386 InitStorage.getPointer() == nullptr && in setBitWidth()2388 InitStorage.setPointerAndInt(Width, ISK_BitWidthOrNothing); in setBitWidth()2395 InitStorage.setPointerAndInt(nullptr, ISK_BitWidthOrNothing); in removeBitWidth()2401 InitStorageKind storageKind = InitStorage.getInt(); in getInClassInitStyle()[all …]
839 if (D->InitStorage.getInt() == FieldDecl::ISK_BitWidthOrNothing && in VisitFieldDecl()840 D->InitStorage.getPointer() == nullptr) { in VisitFieldDecl()842 } else if (D->InitStorage.getInt() == FieldDecl::ISK_CapturedVLAType) { in VisitFieldDecl()843 Record.push_back(D->InitStorage.getInt() + 1); in VisitFieldDecl()845 QualType(static_cast<Type *>(D->InitStorage.getPointer()), 0)); in VisitFieldDecl()847 Record.push_back(D->InitStorage.getInt() + 1); in VisitFieldDecl()848 Record.AddStmt(static_cast<Expr *>(D->InitStorage.getPointer())); in VisitFieldDecl()
1173 FD->InitStorage.setInt( in VisitFieldDecl()1175 if (FD->InitStorage.getInt() == FieldDecl::ISK_CapturedVLAType) { in VisitFieldDecl()1177 FD->InitStorage.setPointer( in VisitFieldDecl()1180 FD->InitStorage.setPointer(Reader.ReadExpr(F)); in VisitFieldDecl()
3470 auto *BitWidth = static_cast<Expr *>(InitStorage.getPointer()); in getBitWidthValue()3494 switch (InitStorage.getInt()) { in getSourceRange()3499 if (const auto *E = static_cast<const Expr *>(InitStorage.getPointer())) in getSourceRange()3512 assert(InitStorage.getInt() == ISK_BitWidthOrNothing && in setCapturedVLAType()3513 InitStorage.getPointer() == nullptr && in setCapturedVLAType()3515 InitStorage.setPointerAndInt(const_cast<VariableArrayType *>(VLAType), in setCapturedVLAType()