Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaType.cpp5283 Expr *ASArgExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in HandleAddressSpaceTypeAttribute() local
5285 if (ASArgExpr->isTypeDependent() || ASArgExpr->isValueDependent() || in HandleAddressSpaceTypeAttribute()
5286 !ASArgExpr->isIntegerConstantExpr(addrSpace, S.Context)) { in HandleAddressSpaceTypeAttribute()
5289 << ASArgExpr->getSourceRange(); in HandleAddressSpaceTypeAttribute()
5298 << ASArgExpr->getSourceRange(); in HandleAddressSpaceTypeAttribute()
5308 << int(Qualifiers::MaxAddressSpace) << ASArgExpr->getSourceRange(); in HandleAddressSpaceTypeAttribute()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp6437 Expr *ASArgExpr; in HandleAddressSpaceTypeAttribute() local
6451 ASArgExpr = static_cast<Expr *>(AddrSpace.get()); in HandleAddressSpaceTypeAttribute()
6453 ASArgExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in HandleAddressSpaceTypeAttribute()
6457 if (!BuildAddressSpaceIndex(S, ASIdx, ASArgExpr, Attr.getLoc())) { in HandleAddressSpaceTypeAttribute()
6473 if (!ASArgExpr->isValueDependent()) { in HandleAddressSpaceTypeAttribute()
6475 S.BuildAddressSpaceAttr(Type, ASIdx, ASArgExpr, Attr.getLoc()); in HandleAddressSpaceTypeAttribute()
6483 T = S.BuildAddressSpaceAttr(T, ASIdx, ASArgExpr, Attr.getLoc()); in HandleAddressSpaceTypeAttribute()