Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DDescriptor.h113 const bool IsArray = false; member
179 bool isPrimitiveArray() const { return IsArray && !ElemDesc; } in isPrimitiveArray()
186 bool isPrimitive() const { return !IsArray && !ElemRecord; } in isPrimitive()
189 bool isArray() const { return IsArray; } in isArray()
H A DDescriptor.cpp131 Desc->IsInitialized = F->IsArray && !IsBase; in ctorRecord()
213 IsMutable(IsMutable), IsTemporary(IsTemporary), IsArray(true), in Descriptor()
223 IsTemporary(IsTemporary), IsArray(true), CtorFn(getCtorArrayPrim(Type)), in Descriptor()
235 IsTemporary(IsTemporary), IsArray(true), CtorFn(ctorArrayDesc), in Descriptor()
245 IsArray(true), CtorFn(ctorArrayDesc), DtorFn(dtorArrayDesc), in Descriptor()
H A DPointer.h157 if (!Desc->IsArray) in expand()
229 bool inArray() const { return getFieldDesc()->IsArray; } in inArray()
H A DPointer.cpp208 return hasSameBase(A, B) && A.Base == B.Base && A.getFieldDesc()->IsArray; in hasSameArray()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprCXX.cpp200 CXXNewExprBits.IsArray = ArraySize.has_value(); in CXXNewExpr()
235 CXXNewExpr::CXXNewExpr(EmptyShell Empty, bool IsArray, in CXXNewExpr() argument
238 CXXNewExprBits.IsArray = IsArray; in CXXNewExpr()
252 bool IsArray = ArraySize.has_value(); in Create() local
258 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
267 CXXNewExpr *CXXNewExpr::CreateEmpty(const ASTContext &Ctx, bool IsArray, in CreateEmpty() argument
272 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
275 CXXNewExpr(EmptyShell(), IsArray, NumPlacementArgs, IsParenTypeId); in CreateEmpty()
H A DExprConstant.cpp192 uint64_t &ArraySize, QualType &Type, bool &IsArray, in findMostDerivedSubobject() argument
206 IsArray = true; in findMostDerivedSubobject()
220 IsArray = true; in findMostDerivedSubobject()
225 IsArray = false; in findMostDerivedSubobject()
229 IsArray = false; in findMostDerivedSubobject()
290 bool IsArray = false; in SubobjectDesignator() local
294 MostDerivedType, IsArray, FirstIsUnsizedArray); in SubobjectDesignator()
295 MostDerivedIsArrayElement = IsArray; in SubobjectDesignator()
313 bool IsArray = false; in truncate() local
316 Ctx, Base, Entries, MostDerivedArraySize, MostDerivedType, IsArray, in truncate()
[all …]
H A DDeclCXX.cpp3386 auto IsArray = [&Ctx](MatcherRef Elem, unsigned N) { in isValidStructGUID() local
3417 return IsStruct({IsInt(32), IsInt(16), IsInt(16), IsArray(IsInt(8), 8)})(T); in isValidStructGUID()
/openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h1941 bool IsArray; // new[] ? variable
1946 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1949 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match()
1956 if (IsArray) in printLeft()
1976 bool IsArray; variable
1981 IsArray(IsArray_) {} in DeleteExpr()
1984 F(Op, IsGlobal, IsArray, getPrecedence()); in match()
1991 if (IsArray) in printLeft()
2098 bool IsArray; variable
2101 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr()
[all …]
/openbsd-src/gnu/llvm/libcxxabi/src/demangle/
H A DItaniumDemangle.h1941 bool IsArray; // new[] ? variable
1946 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1949 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match()
1956 if (IsArray) in printLeft()
1976 bool IsArray; variable
1981 IsArray(IsArray_) {} in DeleteExpr()
1984 F(Op, IsGlobal, IsArray, getPrecedence()); in match()
1991 if (IsArray) in printLeft()
2098 bool IsArray; variable
2101 : Node(KBracedExpr), Elem(Elem_), Init(Init_), IsArray(IsArray_) {} in BracedExpr()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h37 IsArray, enumerator
160 KIND(LVScopeKind, IsArray);
/openbsd-src/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp339 clEnumValN(LVScopeKind::IsArray, "Array", "Array."),
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp100 QualType &Ty, bool &IsArray, unsigned Idx) { in makeElementRegion() argument
110 IsArray = true; in makeElementRegion()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h912 QualType &Ty, bool &IsArray, unsigned Idx = 0);
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DExprCXX.h2271 CXXNewExpr(EmptyShell Empty, bool IsArray, unsigned NumPlacementArgs,
2286 static CXXNewExpr *CreateEmpty(const ASTContext &Ctx, bool IsArray,
2320 bool isArray() const { return CXXNewExprBits.IsArray; } in isArray()
H A DStmt.h736 unsigned IsArray : 1; variable
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp5008 bool IsArray = Ty->isArrayTy(); in parseFunctionBody() local
5012 if (!IsStruct && !IsArray) in parseFunctionBody()
5018 if (IsArray && Index >= Ty->getArrayNumElements()) in parseFunctionBody()
5055 bool IsArray = CurTy->isArrayTy(); in parseFunctionBody() local
5059 if (!IsStruct && !IsArray) in parseFunctionBody()
5065 if (IsArray && Index >= CurTy->getArrayNumElements()) in parseFunctionBody()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1866 bool IsArray = Record.readInt(); in VisitCXXNewExpr() local
1876 assert((IsArray == E->isArray()) && "Wrong IsArray!"); in VisitCXXNewExpr()
1881 (void)IsArray; in VisitCXXNewExpr()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp93 {LVScopeKind::IsArray, &LVScope::getIsArray},
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTokenKinds.def538 TYPE_TRAIT_1(__is_array, IsArray, KEYCXX)
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1275 bool IsArray = getContext().getAsArrayType(Type) != nullptr; in EmitOMPReductionClauseInit() local
1279 if (IsArray) { in EmitOMPReductionClauseInit()
1285 RHSVD, IsArray ? Builder.CreateElementBitCast( in EmitOMPReductionClauseInit()
H A DCGOpenMPRuntime.cpp9723 llvm::Value *IsArray = MapperCGF.Builder.CreateICmpSGT( in emitUDMapperArrayInitOrDel() local
9743 Cond = MapperCGF.Builder.CreateOr(IsArray, BaseIsBegin); in emitUDMapperArrayInitOrDel()
9747 Cond = IsArray; in emitUDMapperArrayInitOrDel()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprCXX.cpp2633 QualType AllocType, bool IsArray, in FindAllocationFunctions() argument
2680 IsArray ? OO_Array_New : OO_New); in FindAllocationFunctions()
H A DSemaChecking.cpp14768 const bool IsArray = T->isArrayType(); in DiagnoseAlwaysNonNullPointer() local
14777 if (!IsAddressOf && !IsFunction && !IsArray) in DiagnoseAlwaysNonNullPointer()
14796 else if (IsArray) in DiagnoseAlwaysNonNullPointer()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h6761 QualType AllocType, bool IsArray,