Home
last modified time | relevance | path

Searched refs:IsArray (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DDescriptor.h172 const bool IsArray = false; member
264 bool isPrimitiveArray() const { return IsArray && !ElemDesc; } in isPrimitiveArray()
266 bool isCompositeArray() const { return IsArray && ElemDesc; } in isCompositeArray()
273 bool isPrimitive() const { return !IsArray && !ElemRecord && PrimT; } in isPrimitive()
276 bool isArray() const { return IsArray; } in isArray()
278 bool isRecord() const { return !IsArray && ElemRecord; } in isRecord()
H A DDescriptor.cpp158 Desc->IsInitialized = D->IsArray; in initField()
182 Desc->IsInitialized = D->IsArray; in initBase()
360 IsArray(true), CtorFn(getCtorArrayPrim(Type)), in Descriptor()
373 IsArray(true), CtorFn(getCtorArrayPrim(Type)), in Descriptor()
388 IsTemporary(IsTemporary), IsArray(true), CtorFn(ctorArrayDesc), in Descriptor()
399 IsMutable(false), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
467 if (IsArray) in getDataType()
H A DPointer.h261 if (!Desc->IsArray) in expand()
412 return getFieldDesc()->IsArray; in inArray()
H A DInterpBuiltin.cpp1533 bool IsArray = NumElems.ugt(1); in interp__builtin_operator_new() local
1548 if (IsArray) { in interp__builtin_operator_new()
1551 IsArray ? std::nullopt : Descriptor::InlineDescMD); in interp__builtin_operator_new()
1566 IsArray ? std::nullopt : Descriptor::InlineDescMD); in interp__builtin_operator_new()
H A DPointer.cpp575 A.getFieldDesc()->IsArray; in hasSameArray()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp37 bool &IsArray) const;
72 bool &IsArray) const { in getExtentSizeOfNewTarget()
78 IsArray = false; in getExtentSizeOfNewTarget()
80 IsArray = true; in getExtentSizeOfNewTarget()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp248 CXXNewExprBits.IsArray = ArraySize.has_value(); in CXXNewExpr()
285 CXXNewExpr::CXXNewExpr(EmptyShell Empty, bool IsArray, in CXXNewExpr() argument
288 CXXNewExprBits.IsArray = IsArray; in CXXNewExpr()
301 bool IsArray = ArraySize.has_value(); in Create() local
307 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
315 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray, in CreateEmpty() argument
320 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
323 CXXNewExpr(EmptyShell(), IsArray, NumPlacementArgs, IsParenTypeId); in CreateEmpty()
H A DExprConstant.cpp200 uint64_t &ArraySize, QualType &Type, bool &IsArray, in findMostDerivedSubobject() argument
216 IsArray = true; in findMostDerivedSubobject()
230 IsArray = true; in findMostDerivedSubobject()
235 IsArray = true; in findMostDerivedSubobject()
240 IsArray = false; in findMostDerivedSubobject()
244 IsArray = false; in findMostDerivedSubobject()
307 bool IsArray = false; in SubobjectDesignator() local
311 MostDerivedType, IsArray, FirstIsUnsizedArray); in SubobjectDesignator()
312 MostDerivedIsArrayElement = IsArray; in SubobjectDesignator()
330 bool IsArray = false; in truncate() local
[all …]
H A DDeclCXX.cpp3706 auto IsArray = [&Ctx](MatcherRef Elem, unsigned N) { in isValidStructGUID() local
3738 return IsStruct({IsInt(32), IsInt(16), IsInt(16), IsArray(IsInt(8), 8)})(T); in isValidStructGUID()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h38 IsArray, enumerator
165 KIND(LVScopeKind, IsArray);
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2125 bool IsArray; // new[] ? variable
2130 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
2133 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match()
2140 if (IsArray) in printLeft()
2160 bool IsArray; variable
2165 IsArray(IsArray_) {} in DeleteExpr()
2168 F(Op, IsGlobal, IsArray, getPrecedence()); in match()
2175 if (IsArray) in printLeft()
2286 bool IsArray; variable
2289 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp342 clEnumValN(LVScopeKind::IsArray, "Array", "Array."),
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp838 const TargetList &ActiveTargets, bool IsArray = true) { in serializeField() argument
843 if (!IsArray) { in serializeField()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp111 QualType &Ty, bool &IsArray, unsigned Idx) { in makeElementRegion() argument
121 IsArray = true; in makeElementRegion()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h901 QualType &Ty, bool &IsArray, unsigned Idx = 0);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTypeTraits.cpp2211 bool IsArray = T->isArrayType(); in DiagnoseNonReplaceableReason() local
2220 << diag::TraitNotSatisfiedReason::NotScalarOrClass << IsArray; in DiagnoseNonReplaceableReason()
H A DSemaOpenACC.cpp821 bool IsArray = !OriginalBaseTy.isNull() && OriginalBaseTy->isArrayType(); in ActOnArraySectionExpr() local
823 Diag(DiagLoc, diag::err_acc_subarray_no_length) << IsArray; in ActOnArraySectionExpr()
H A DSemaExprCXX.cpp2907 QualType AllocType, bool IsArray, ImplicitAllocationParameters &IAP, in FindAllocationFunctions() argument
2932 IsArray ? OO_Array_New : OO_New); in FindAllocationFunctions()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprCXX.h2395 CXXNewExpr(EmptyShell Empty, bool IsArray, unsigned NumPlacementArgs,
2410 static CXXNewExpr *CreateEmpty(const ASTContext &Ctx, bool IsArray,
2444 bool isArray() const { return CXXNewExprBits.IsArray; } in isArray()
H A DStmt.h913 unsigned IsArray : 1;
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5313 bool IsArray = Ty->isArrayTy(); in parseFunctionBody() local
5317 if (!IsStruct && !IsArray) in parseFunctionBody()
5323 if (IsArray && Index >= Ty->getArrayNumElements()) in parseFunctionBody()
5360 bool IsArray = CurTy->isArrayTy(); in parseFunctionBody() local
5364 if (!IsStruct && !IsArray) in parseFunctionBody()
5370 if (IsArray && Index >= CurTy->getArrayNumElements()) in parseFunctionBody()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1923 bool IsArray = Record.readInt(); in VisitCXXNewExpr() local
1935 assert((IsArray == E->isArray()) && "Wrong IsArray!"); in VisitCXXNewExpr()
1940 (void)IsArray; in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp87 {LVScopeKind::IsArray, &LVScope::getIsArray},
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def578 TYPE_TRAIT_1(__is_array, IsArray, KEYCXX)
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1333 bool IsArray = getContext().getAsArrayType(Type) != nullptr; in EmitOMPReductionClauseInit() local
1337 if (IsArray) { in EmitOMPReductionClauseInit()
1343 RHSVD, IsArray ? GetAddrOfLocalVar(PrivateVD).withElementType( in EmitOMPReductionClauseInit()

12