Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTinyPtrVector.h137 if (Val.isNull())
146 if (Val.isNull())
165 if (Val.isNull()) return true; in empty()
193 return begin() + (Val.isNull() ? 0 : 1); in end()
218 assert(!Val.isNull() && "can't index into an empty vector");
244 if (Val.isNull()) { in push_back()
246 assert(!Val.isNull() && "Can't add a null value"); in push_back()
317 assert(!Val.isNull() && "Null value with non-end insert iterator."); in insert()
338 if (Val.isNull()) { in insert()
H A DTwine.h194 bool isNull() const {
205 return isNull() || isEmpty(); in isUnary()
527 if (isNull() || Suffix.isNull()) in concat()
190 bool isNull() const { isNull() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclContextInternals.h109 if (isNull()) in MaybeDeallocList()
133 bool isNull() const { return Data.getPointer().isNull(); } in isNull() function
136 assert(!isNull() && "No ASTContext."); in getASTContext()
161 assert(!isNull() && "removing from empty list"); in remove()
225 if (isNull()) { in addOrReplaceDecl()
273 if (isNull()) { in prependDeclNoReplace()
H A DCanonicalType.h95 explicit operator bool() const { return !isNull(); }
97 bool isNull() const { in isNull() function
98 return Stored.isNull(); in isNull()
642 assert((Other.isNull() || Other.isCanonical()) && "Type is not canonical!");
643 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
656 if (Stored.isNull())
671 assert(!Stored.isNull() && isa<U>(Stored.getTypePtr()));
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNSAPI.cpp44 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
78 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
150 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
237 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
332 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
492 if (!Ctx.getLangOpts().ObjC || T.isNull()) in GetNSIntegralKind()
546 if (T.isNull()) in isObjCTypedef()
581 if (Sel.isNull()) { in getOrInitSelector()
592 if (Sel.isNull()) { in getOrInitNullarySelector()
H A DType.cpp933 if (result.isNull()) in recurse()
958 if (desugaredType.isNull()) \
969 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
980 if (pointeeType.isNull()) in VisitPointerType()
991 if (pointeeType.isNull()) in VisitBlockPointerType()
1002 if (pointeeType.isNull()) in VisitLValueReferenceType()
1014 if (pointeeType.isNull()) in VisitRValueReferenceType()
1026 if (pointeeType.isNull()) in VisitMemberPointerType()
1037 if (elementType.isNull()) in VisitConstantArrayType()
1050 if (elementType.isNull()) in VisitVariableArrayType()
[all …]
H A DTypeLoc.cpp55 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
75 if (Ty.isNull()) return 1; in getLocalAlignmentForType()
98 while (!TyLoc.isNull()) { in getFullDataSizeForType()
203 if (Cur.isNull()) in getBeginLoc()
226 if (Cur.isNull()) in getBeginLoc()
744 if (Res.isNull()) in getContainedAutoTypeLoc()
H A DParentMapContext.cpp387 if (NodeOrVector.isNull()) { in addParent()
414 template <typename T> static bool isNull(T Node) { return !Node; } in isNull() function in ParentMapContext::ParentMap::ASTVisitor
415 static bool isNull(ObjCProtocolLoc Node) { return false; } in isNull() function in ParentMapContext::ParentMap::ASTVisitor
421 if (isNull(Node)) in TraverseNode()
H A DASTDiagnostic.cpp276 if (CompareTy.isNull()) in ConvertTypeToDiagnosticString()
1150 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff()
1173 bool FromDefault = FromIter.isEnd() && !FromType.isNull(); in DiffTypes()
1174 bool ToDefault = ToIter.isEnd() && !ToType.isNull(); in DiffTypes()
1180 Tree.SetSame(!FromType.isNull() && !ToType.isNull() && in DiffTypes()
1687 assert((!FromType.isNull() || !ToType.isNull()) && in PrintTypeNames()
1695 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames()
1705 std::string FromTypeStr = FromType.isNull() ? "(no argument)" in PrintTypeNames()
1707 std::string ToTypeStr = ToType.isNull() ? "(no argument)" in PrintTypeNames()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp223 if (parent_qt.isNull()) in CreateDeclInfoForType()
289 if (qt.isNull()) in GetOrCreateDeclForUid()
343 if (qt.isNull()) in CreateDeclInfoForUndecoratedName()
423 if (qt.isNull()) in CompleteType()
502 if (direct_type.isNull()) in CreateSimpleType()
522 if (pointee_type.isNull()) in CreatePointerType()
528 if (class_type.isNull()) in CreatePointerType()
591 if (unmodified_type.isNull()) in CreateModifierType()
675 if (qt.isNull()) in CreateVariableDecl()
734 if (qt.isNull() || !scop in GetOrCreateTypedefDecl()
[all...]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp119 if (DeclOrVector.isNull()) { in Add()
556 if (!ContextType.isNull() && ContextType->isPointerType()) in getPreferredTypeOfUnaryArg()
560 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
568 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
625 Type = !CastType.isNull() ? CastType.getCanonicalType() : QualType(); in enterTypeCast()
705 if (DeclOrVector.isNull()) in begin()
716 if (DeclOrVector.is<const NamedDecl *>() || DeclOrVector.isNull()) in end()
960 if (T.isNull()) in getDeclUsageType()
1048 if (!PreferredSelector.isNull()) in AdjustResultPriorityForDecl()
1055 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl()
[all …]
H A DSemaTemplateDeduction.cpp220 if (X.isNull()) in checkDeducedTemplateArguments()
222 if (Y.isNull()) in checkDeducedTemplateArguments()
232 if (!XType.isNull()) { in checkDeducedTemplateArguments()
234 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
378 if (Merged.isNull() && !(XA->isNull() && YA->isNull())) in checkDeducedTemplateArguments()
409 if (Result.isNull()) { in DeduceNonTypeTemplateArgument()
621 if (Result.isNull()) { in DeduceTemplateArguments()
860 DeducedFromEarlierParameter = !Deduced[Index].isNull(); in addPack()
1029 if (!Pack.New.empty() || !DeducedArg.isNull()) { in nextPackElement()
1091 if (Pack.Outer->DeferredDeduction.isNull()) { in finish()
[all …]
H A DTreeTransform.h229 return T.isNull(); in AlreadyTransformed()
1146 if (InstName.isNull()) in RebuildDependentTemplateSpecializationType()
1159 if (T.isNull()) in RebuildDependentTemplateSpecializationType()
4545 if (NewT.isNull()) in TransformDeclarationNameInfo()
4599 ObjectType.isNull()) in TransformTemplateName()
4670 if (NewT.isNull()) in TransformTemplateArgument()
4729 if (Template.isNull()) in TransformTemplateArgument()
4888 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4906 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4923 if (Out.getArgument().isNull()) in TransformTemplateArguments()
[all …]
H A DSemaTemplateDeductionGuide.cpp428 if (NewType.isNull()) in transformConstructor()
560 if (Result.isNull()) in transformFunctionProtoType()
811 if (D.isNull()) { // non-deduced template parameters of f in buildAssociatedConstraints()
822 assert(TemplateArgsForBuildingRC[Index].isNull()); in buildAssociatedConstraints()
831 assert(TemplateArgsForBuildingRC[Index].isNull() && in buildAssociatedConstraints()
1049 if (const auto &D = DeduceResults[Index]; !D.isNull()) // Deduced in BuildDeductionGuideForTypeAlias()
1107 assert(TemplateArgsForBuildingFPrime[FTemplateParamIdx].isNull() && in BuildDeductionGuideForTypeAlias()
1133 if (D.isNull()) { in BuildDeductionGuideForTypeAlias()
1135 assert(!TemplateArgsForBuildingFPrime[Index].isNull() && in BuildDeductionGuideForTypeAlias()
1144 assert(TemplateArgsForBuildingFPrime[Index].isNull() && in BuildDeductionGuideForTypeAlias()
[all …]
H A DSemaCXXScopeSpec.cpp29 if (T.isNull()) in getCurrentInstantiationOf()
426 if (!ObjectType.isNull()) { in BuildCXXNestedNameSpecifier()
454 if (!ObjectType.isNull() && Found.empty()) { in BuildCXXNestedNameSpecifier()
585 if (!ObjectType.isNull() && !ObjectTypeSearchedInScope && in BuildCXXNestedNameSpecifier()
795 if (T.isNull()) in ActOnCXXNestedNameSpecifierDecltype()
822 if (Type.isNull()) in ActOnCXXNestedNameSpecifierIndexedPack()
914 if (T.isNull()) in ActOnCXXNestedNameSpecifier()
H A DSemaTemplateVariadic.cpp148 if ((!T.isNull() && T->containsUnexpandedParameterPack()) || InLambda) in TraverseType()
157 if ((!TL.getType().isNull() && in TraverseTypeLoc()
510 if (Template.isNull() || !Template.containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
522 if (Arg.getArgument().isNull() || in DiagnoseUnexpandedParameterPack()
636 if (Result.isNull()) in CheckPackExpansion()
892 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
963 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks()
980 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp70 assert(!T.isNull()); in GetElementZeroRegion()
324 assert(!TargetType.isNull()); in evalBaseToDerived()
450 if (!BT.isNull() && !elementType.isNull()) { in getLValueElement()
452 if (!PointeeTy.isNull() && in getLValueElement()
H A DExplodedGraph.cpp223 if (Storage.isNull()) { in addNode()
252 if (Storage.isNull()) in size()
264 if (Storage.isNull()) in begin()
276 if (Storage.isNull()) in end()
H A DSVals.cpp153 if (NestedType.isNull()) in VisitLocAsInteger()
199 return getPTMData().isNull(); in isNullMemberPointer()
204 if (PTMD.isNull()) in getDecl()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dexecutor_address_test.cpp29 EXPECT_TRUE(Null.isNull()); in TEST()
32 EXPECT_FALSE(NonNull.isNull()); in TEST()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprComplex.cpp361 if (!promotionTy.isNull()) \
654 PromotionType.isNull() in VisitUnaryPlus()
659 if (!promotionTy.isNull()) in VisitUnaryPlus()
668 if (!PromotionType.isNull()) in VisitPlus()
676 PromotionType.isNull() in VisitUnaryMinus()
681 if (!promotionTy.isNull()) in VisitUnaryMinus()
690 if (!PromotionType.isNull()) in VisitMinus()
1167 if (!PromotionType.isNull()) in EmitPromoted()
1182 if (!OverallPromotionType.isNull()) in EmitPromotedComplexOperand()
1187 if (!OverallPromotionType.isNull()) { in EmitPromotedComplexOperand()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp118 if (element.type.isNull()) in BuildAggregate()
332 if (target_type.isNull()) in BuildType()
350 if (target_type.isNull()) in BuildType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp166 if (T.isNull()) in checkASTDecl()
178 if (TemplT.isNull()) in checkASTDecl()
222 if (T.isNull()) in visitCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp199 if (SourceType.isNull() || TargetType.isNull() || SourceType == TargetType) in VisitNode()
H A DMIGChecker.cpp233 if (!State->isNull(V).isConstrainedFalse()) in mayBeSuccess()
242 if (!State->isNull(V).isConstrainedTrue()) in mayBeSuccess()

12345678910