/external/bcc/src/cc/ |
D | json_map_decl_visitor.cc | 81 if (const ConstantArrayType *T = dyn_cast<ConstantArrayType>(F->getType())) in genJSONForField()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 103 if (const ConstantArrayType *CArrTy = dyn_cast<ConstantArrayType>(ArrTy)) in visitVariable()
|
D | CastSizeChecker.cpp | 65 if (const ConstantArrayType *ArrayTy = in evenFlexibleArraySize()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 540 const ConstantArrayType *A = cast<ConstantArrayType>(Ty); in ConvertType() 747 if (const auto *CAT = dyn_cast<ConstantArrayType>(AT)) in isZeroInitializable()
|
D | CGExprCXX.cpp | 588 while (const ConstantArrayType *CAT in EmitCXXNewAllocSize() 861 if (const ConstantArrayType *CAT = dyn_cast_or_null<ConstantArrayType>( in EmitNewArrayInitializer() 1728 while (const ConstantArrayType *Arr in EmitCXXDeleteExpr()
|
D | CGExprConstant.cpp | 977 const ConstantArrayType *CAT = cast<ConstantArrayType>(T); in VisitObjCEncodeExpr() 1607 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(T)) { in EmitNullConstant()
|
D | CodeGenFunction.cpp | 1586 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 1587 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue() in emitArrayLength() 1607 cast<ConstantArrayType>(arrayType)->getSize().getZExtValue(); in emitArrayLength()
|
D | TargetInfo.cpp | 420 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isEmptyField() 515 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isSingleElementStruct() 1127 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) in shouldReturnTypeInRegister() 2491 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify() 2777 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in BitsContainNoUserData() 4085 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in isHomogeneousAggregate() 4117 while (const ConstantArrayType *AT = in isHomogeneousAggregate() 7820 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(AT)) in appendArrayType()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 626 ET = cast<ConstantArrayType> (TP)->getElementType(); in clang_getElementType() 658 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue(); in clang_getNumElements() 678 ET = cast<ConstantArrayType> (TP)->getElementType(); in clang_getArrayElementType() 704 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue(); in clang_getArraySize()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 1400 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1401 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign() 1469 const ConstantArrayType *CAT) { in getConstantArrayInfoInChars() 1487 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(T)) in getTypeInfoInChars() 1554 const ConstantArrayType *CAT = cast<ConstantArrayType>(T); in getTypeInfoImpl() 2587 ConstantArrayType::Profile(ID, EltTy, ArySize, ASM, IndexTypeQuals); in getConstantArrayType() 2590 if (ConstantArrayType *ATP = in getConstantArrayType() 2604 ConstantArrayType *NewIP = in getConstantArrayType() 2609 ConstantArrayType *New = new(*this,TypeAlignment) in getConstantArrayType() 2610 ConstantArrayType(EltTy, Canon, ArySize, ASM, IndexTypeQuals); in getConstantArrayType() [all …]
|
D | ExprConstant.cpp | 124 const ConstantArrayType *CAT = in findMostDerivedSubobject() 125 cast<ConstantArrayType>(Ctx.getAsArrayType(Type)); in findMostDerivedSubobject() 240 void addArrayUnchecked(const ConstantArrayType *CAT) { in addArrayUnchecked() 1137 void addArray(EvalInfo &Info, const Expr *E, const ConstantArrayType *CAT) { in addArray() 2219 const ConstantArrayType *CAT = in extractStringLiteralCharacter() 2236 const ConstantArrayType *CAT = in expandStringLiteral() 2414 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType); in findSubobject() 5195 if (const ConstantArrayType *CAT in VisitCastExpr() 5718 const ConstantArrayType *ArrayType = in VisitCXXStdInitializerListExpr() 6029 const ConstantArrayType *CAT = in ZeroInitialization() [all …]
|
D | TypePrinter.cpp | 433 void TypePrinter::printConstantArrayBefore(const ConstantArrayType *T, in printConstantArrayBefore() 439 void TypePrinter::printConstantArrayAfter(const ConstantArrayType *T, in printConstantArrayAfter()
|
D | ASTImporter.cpp | 49 QualType VisitConstantArrayType(const ConstantArrayType *T); 562 const ConstantArrayType *Array1 = cast<ConstantArrayType>(T1); in IsStructurallyEquivalent() 563 const ConstantArrayType *Array2 = cast<ConstantArrayType>(T2); in IsStructurallyEquivalent() 1653 QualType ASTNodeImporter::VisitConstantArrayType(const ConstantArrayType *T) { in VisitConstantArrayType() 3398 isa<ConstantArrayType>(TArray)) { in VisitVarDecl() 3408 isa<ConstantArrayType>(FoundArray)) { in VisitVarDecl()
|
D | Type.cpp | 77 unsigned ConstantArrayType::getNumAddressingBits(const ASTContext &Context, in getNumAddressingBits() 112 unsigned ConstantArrayType::getMaxSizeBits(const ASTContext &Context) { in getMaxSizeBits() 752 QualType VisitConstantArrayType(const ConstantArrayType *T) { in VisitConstantArrayType()
|
D | MicrosoftMangle.cpp | 2102 void MicrosoftCXXNameMangler::mangleType(const ConstantArrayType *T, Qualifiers, in mangleType() 2123 const ConstantArrayType *CAT = in mangleArrayType()
|
D | RecordLayoutBuilder.cpp | 441 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in CanPlaceFieldSubobjectAtOffset() 538 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in UpdateEmptyFieldSubobjects()
|
/external/clang/unittests/AST/ |
D | ASTTypeTraitsTest.cpp | 123 VERIFY_NAME(ConstantArrayType); in TEST()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 62 if (!isa<ConstantArrayType>(AT) && !isa<IncompleteArrayType>(AT)) in IsStringInit() 154 cast<ConstantArrayType>(Str->getType()->getAsArrayTypeUnsafe()); in CheckStringInit() 169 const ConstantArrayType *CAT = cast<ConstantArrayType>(AT); in CheckStringInit() 689 if (const ConstantArrayType *CAType = dyn_cast<ConstantArrayType>(AType)) in FillInEmptyInitializations() 795 if (const ConstantArrayType *CAT = in numArrayElements() 1614 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(arrayType)) { in CheckArrayType() 2447 if (isa<ConstantArrayType>(AT)) { in CheckDesignatedInitializer() 2448 llvm::APSInt MaxElements(cast<ConstantArrayType>(AT)->getSize(), false); in CheckDesignatedInitializer() 2466 ConstantArrayType::getMaxSizeBits(SemaRef.Context); in CheckDesignatedInitializer() 2493 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer() [all …]
|
D | SemaTemplateDeduction.cpp | 1303 const ConstantArrayType *ConstantArrayArg = in DeduceTemplateArgumentsByTypeMatch() 1308 const ConstantArrayType *ConstantArrayParm = in DeduceTemplateArgumentsByTypeMatch() 1348 if (const ConstantArrayType *ConstantArrayArg in DeduceTemplateArgumentsByTypeMatch() 1349 = dyn_cast<ConstantArrayType>(ArrayArg)) { in DeduceTemplateArgumentsByTypeMatch()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 104 mutable llvm::FoldingSet<ConstantArrayType> ConstantArrayTypes; 2114 const ConstantArrayType *getAsConstantArrayType(QualType T) const { in getAsConstantArrayType() 2115 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType() 2138 uint64_t getConstantArrayElementCount(const ConstantArrayType *CA) const;
|
D | CanonicalType.h | 443 template<> struct CanProxyAdaptor<ConstantArrayType>;
|
D | Type.h | 2512 class ConstantArrayType : public ArrayType { 2515 ConstantArrayType(QualType et, QualType can, const llvm::APInt &size, 2521 ConstantArrayType(TypeClass tc, QualType et, QualType can, 5528 return isa<ConstantArrayType>(CanonicalType);
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 1096 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(AT)) in VisitCluster() 2058 if (const ConstantArrayType* CAT = dyn_cast<ConstantArrayType>(AT)) in bindArray()
|
/external/clang/lib/Analysis/ |
D | ScanfFormatString.cpp | 437 if (const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(RawQT)) { in fixType()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4449 AST_TYPE_MATCHER(ConstantArrayType, constantArrayType); 4467 AST_POLYMORPHIC_SUPPORTED_TYPES(ConstantArrayType, in AST_POLYMORPHIC_MATCHER_P() argument
|