Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp103 if (ToPointeeTy->isIncompleteType()) in checkPreStmt()
DObjCContainersASTChecker.cpp39 if (T->isIncompleteType()) in isPointerSize()
DArrayBoundCheckerV2.cpp281 if (elemType->isIncompleteType()) in computeOffset()
/external/clang/tools/libclang/
DCXType.cpp710 if (QT->isIncompleteType()) in clang_Type_getAlignOf()
745 if (QT->isIncompleteType()) in clang_Type_getSizeOf()
762 if (FQT->isIncompleteType()) in visitRecordForValidation()
794 if (RT->isIncompleteType()) in validateFieldParentType()
DCIndexCodeCompletion.cpp602 AllocatedResults.ContainerIsIncomplete = type->isIncompleteType(); in ProcessCodeCompleteResults()
/external/clang/lib/AST/
DType.cpp1877 assert(!isIncompleteType() && "This doesn't make sense for incomplete types"); in isConstantSizeType()
1886 bool Type::isIncompleteType(NamedDecl **Def) const { in isIncompleteType() function in Type
1921 ->isIncompleteType(Def); in isIncompleteType()
1949 ->isIncompleteType(Def); in isIncompleteType()
1979 if ((*this)->isIncompleteType()) in isCXX98PODType()
2041 if ((*this)->isIncompleteType()) in isTrivialType()
2127 if (CanonicalType->isIncompleteType()) in isTriviallyCopyableType()
2170 if (BaseTy->isIncompleteType()) in isLiteralType()
2228 if (BaseTy->isIncompleteType()) in isStandardLayoutType()
2280 if (BaseTy->isIncompleteType()) in isCXX11PODType()
DExprClassification.cpp623 if (CT->isIncompleteType()) in IsModifiable()
DExprConstant.cpp1509 return Ty->isIncompleteType() || in isZeroSized()
6521 if (PointeeType->isIncompleteType() || PointeeType->isFunctionType()) in tryEvaluateBuiltinObjectSize()
6812 if (!PointeeType->isIncompleteType() && in VisitCallExpr()
6864 if (Ty->isIncompleteType()) in isOnePastTheEndOfCompleteObject()
7486 if (BaseTy->isIncompleteType()) in VisitBinaryOperator()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp189 if (T->isIncompleteType()) in getExtent()
1155 if (elemType->isIncompleteType()) { in getAsArrayOffset()
1296 if (EleTy->isIncompleteType()) { in getAsOffset()
DStore.cpp188 if (!PointeeTy->isIncompleteType()) { in castRegion()
DExprEngineC.cpp754 if (!T->isIncompleteType() && !T->isConstantSizeType()) { in VisitUnaryExprOrTypeTraitExpr()
/external/clang/lib/CodeGen/
DCGValue.h223 assert((!Alignment.isZero() || Type->isIncompleteType()) &&
DCodeGenTypes.cpp202 if (TT->isIncompleteType()) in isFuncParamTypeConvertible()
DCGDebugInfo.cpp1951 if (Ty->getElementType()->isIncompleteType()) in CreateType()
1955 } else if (Ty->isIncompleteType()) { in CreateType()
2007 !Ty->isIncompleteType() ? CGM.getContext().getTypeSize(Ty) : 0; in CreateType()
2033 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
2066 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
DCGCall.cpp1630 if (!PTy->isIncompleteType() && PTy->isConstantSizeType()) in ConstructAttributeList()
1742 if (!PTy->isIncompleteType() && PTy->isConstantSizeType()) in ConstructAttributeList()
1968 if (!ETy->isIncompleteType() && ETy->isConstantSizeType() && in EmitFunctionProlog()
DCodeGenFunction.cpp121 if (T->isIncompleteType()) { in getNaturalTypeAlignment()
DCGExpr.cpp543 if (SanOpts.has(SanitizerKind::ObjectSize) && !Ty->isIncompleteType()) { in EmitTypeCheck()
564 if (!Ty->isIncompleteType() && !AlignVal) in EmitTypeCheck()
/external/clang/include/clang/AST/
DCanonicalType.h252 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIncompleteType)
/external/clang/lib/Sema/
DSemaStmtAsm.cpp388 if (Ty->isDependentType() || Ty->isIncompleteType()) in ActOnGCCAsmStmt()
DSemaPseudoObject.cpp236 assert(!ty->isIncompleteType()); in CanCaptureValue()
1055 !RecordTy || RecordTy->isIncompleteType()) { in CheckSubscriptingKind()
DSemaType.cpp2061 } else if ((!T->isDependentType() && !T->isIncompleteType() && in BuildArrayType()
2104 !T->isIncompleteType() && !T->isUndeducedType()) { in BuildArrayType()
6592 if (!T->isIncompleteType(&Def)) { in RequireCompleteTypeImpl()
6640 if (!T->isIncompleteType()) in RequireCompleteTypeImpl()
6689 if (!T->isIncompleteType()) in RequireCompleteTypeImpl()
6976 if (BaseType->isIncompleteType(&FwdDecl)) { in BuildUnaryTransformType()
DSemaExprCXX.cpp176 assert((isDependent || !SearchType->isIncompleteType()) && in getDestructorName()
3870 if (T->isIncompleteType() || T->isFunctionType()) in EvaluateUnaryTypeTrait()
4041 return !T->isIncompleteType(); in EvaluateUnaryTypeTrait()
4111 if (T->isIncompleteType() || T->isFunctionType()) in evaluateTypeTrait()
DSemaDeclAttr.cpp388 if (RT->isIncompleteType()) in threadSafetyCheckIsPointer()
420 if (RT->isIncompleteType()) in checkRecordTypeForCapability()
1078 !FD->getType()->isIncompleteType() && FD->isBitField() && in handlePackedAttr()
3236 if (DiagTy->isDependentType() || DiagTy->isIncompleteType()) in CheckAlignasUnderalignment()
DSemaOverload.cpp9068 if (TempFromTy->isIncompleteType()) { in DiagnoseBadConversion()
9083 !FromPtrTy->getPointeeType()->isIncompleteType() && in DiagnoseBadConversion()
9084 !ToPtrTy->getPointeeType()->isIncompleteType() && in DiagnoseBadConversion()
9101 !FromTy->isIncompleteType() && in DiagnoseBadConversion()
9102 !ToRefTy->getPointeeType()->isIncompleteType() && in DiagnoseBadConversion()
11647 if (Args[0]->getType()->isIncompleteType()) { in CreateOverloadedBinOp()
DSemaDeclObjC.cpp3030 if (left->isIncompleteType() || right->isIncompleteType()) return false; in matchTypes()

12