Home
last modified time | relevance | path

Searched refs:StorageKind (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp33 StorageKind(P.StorageKind) { in Pointer()
40 : Offset(Offset), StorageKind(Storage::Block) { in Pointer()
51 StorageKind(P.StorageKind) { in Pointer()
53 if (StorageKind == Storage::Block && PointeeStorage.BS.Pointee) in Pointer()
71 if (StorageKind == Storage::Block) { in operator =()
79 StorageKind = P.StorageKind; in operator =()
99 if (StorageKind == Storage::Block) { in operator =()
107 StorageKind = P.StorageKind; in operator =()
H A DPointer.h86 StorageKind = Storage::Int; in Pointer()
95 : Offset(Offset), StorageKind(Storage::Int) { in Offset()
106 if (P.StorageKind != StorageKind)
424 bool isBlockPointer() const { return StorageKind == Storage::Block; } in isBlockPointer()
425 bool isIntegralPointer() const { return StorageKind == Storage::Int; } in isIntegralPointer()
696 Storage StorageKind = Storage::Int; variable
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp323 ConstantExpr::ConstantExpr(Expr *SubExpr, ConstantResultStorageKind StorageKind, in ConstantExpr() argument
326 ConstantExprBits.ResultKind = llvm::to_underlying(StorageKind); in ConstantExpr()
333 if (StorageKind == ConstantResultStorageKind::APValue) in ConstantExpr()
338 ConstantResultStorageKind StorageKind, in Create() argument
341 AssertResultStorageKind(StorageKind); in Create()
344 StorageKind == ConstantResultStorageKind::APValue, in Create()
345 StorageKind == ConstantResultStorageKind::Int64); in Create()
347 return new (Mem) ConstantExpr(E, StorageKind, IsImmediateInvocation); in Create()
352 ConstantResultStorageKind StorageKind = getStorageKind(Result); in Create() local
353 ConstantExpr *Self = Create(Context, E, StorageKind); in Create()
[all …]
H A DDecl.cpp4670 assert(StorageKind == ISK_NoInit && !BitField && in setCapturedVLAType()
4673 StorageKind = ISK_CapturedVLAType; in setCapturedVLAType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h3059 unsigned StorageKind : 2;
3095 Mutable(Mutable), StorageKind((InitStorageKind)InitStyle), in FieldDecl()
3186 return (StorageKind == ISK_CapturedVLAType ? ICIS_NoInit in getInClassInitStyle()
3187 : (InClassInitStyle)StorageKind); in getInClassInitStyle()
3216 StorageKind = ISK_NoInit; in removeInClassInitializer()
3227 return StorageKind == ISK_CapturedVLAType; in hasCapturedVLAType()
H A DExpr.h1109 ConstantExpr(Expr *SubExpr, ConstantResultStorageKind StorageKind,
1111 ConstantExpr(EmptyShell Empty, ConstantResultStorageKind StorageKind);
1121 ConstantResultStorageKind StorageKind);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp549 auto StorageKind = static_cast<ConstantResultStorageKind>(Record.readInt()); in VisitConstantExpr() local
550 assert(E->getResultStorageKind() == StorageKind && "Wrong ResultKind!"); in VisitConstantExpr()
558 switch (StorageKind) { in VisitConstantExpr()
H A DASTWriterDecl.cpp1035 Record.push_back((D->StorageKind << 1) | D->BitField); in VisitFieldDecl()
1036 if (D->StorageKind == FieldDecl::ISK_CapturedVLAType) in VisitFieldDecl()
H A DASTReaderDecl.cpp1529 FD->StorageKind = Bits >> 1; in VisitFieldDecl()
1530 if (FD->StorageKind == FieldDecl::ISK_CapturedVLAType) in VisitFieldDecl()