Home
last modified time | relevance | path

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

12345678910

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclContextInternals.h97 if (isNull()) in MaybeDeallocList()
121 bool isNull() const { return Data.getPointer().isNull(); } in isNull() function
124 assert(!isNull() && "No ASTContext."); in getASTContext()
149 assert(!isNull() && "removing from empty list"); in remove()
189 if (Head.isNull()) { in replaceExternalDecls()
218 if (isNull()) { in addOrReplaceDecl()
266 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()));
/openbsd-src/gnu/llvm/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");
245 if (Val.isNull()) { in push_back()
247 assert(!Val.isNull() && "Can't add a null value"); in push_back()
318 assert(!Val.isNull() && "Null value with non-end insert iterator."); in insert()
339 if (Val.isNull()) { in insert()
H A DTwine.h190 bool isNull() const { in isNull() function
201 return isNull() || isEmpty(); in isNullary()
508 if (isNull() || Suffix.isNull()) in concat()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXType.cpp132 if (TU && !T.isNull()) { in MakeCXType()
186 assert(!Type.isNull()); in GetTemplateArguments()
301 if (T.isNull()) in clang_getTypeSpelling()
404 if (T.isNull()) in clang_getCanonicalType()
651 if (T.isNull()) in clang_isFunctionTypeVariadic()
665 if (T.isNull()) in clang_getFunctionTypeCallingConv()
702 if (T.isNull()) in clang_getNumArgTypes()
718 if (T.isNull()) in clang_getArgType()
734 if (T.isNull()) in clang_getResultType()
787 if (T.isNull()) in clang_getExceptionSpecificationType()
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DReturnUndefChecker.cpp57 if (!RT.isNull() && RT->isVoidType()) in checkPreStmt()
63 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt()
71 if (RT.isNull()) in checkPreStmt()
H A DReturnValueChecker.cpp80 return C.getState()->isNull(*ReturnDV).isConstrainedTrue(); in isInvariantBreak()
82 return C.getState()->isNull(*ReturnDV).isConstrainedFalse(); in isInvariantBreak()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DNSAPI.cpp44 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
80 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
159 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
260 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
362 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
517 if (!Ctx.getLangOpts().ObjC || T.isNull()) in GetNSIntegralKind()
571 if (T.isNull()) in isObjCTypedef()
606 if (Sel.isNull()) { in getOrInitSelector()
617 if (Sel.isNull()) { in getOrInitNullarySelector()
H A DType.cpp857 if (result.isNull()) in recurse()
882 if (desugaredType.isNull()) \
893 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
904 if (pointeeType.isNull()) in VisitPointerType()
915 if (pointeeType.isNull()) in VisitBlockPointerType()
926 if (pointeeType.isNull()) in VisitLValueReferenceType()
938 if (pointeeType.isNull()) in VisitRValueReferenceType()
950 if (pointeeType.isNull()) in VisitMemberPointerType()
961 if (elementType.isNull()) in VisitConstantArrayType()
974 if (elementType.isNull()) in VisitVariableArrayType()
[all …]
H A DTypeLoc.cpp54 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
74 if (Ty.isNull()) return 1; in getLocalAlignmentForType()
97 while (!TyLoc.isNull()) { in getFullDataSizeForType()
202 if (Cur.isNull()) in getBeginLoc()
225 if (Cur.isNull()) in getBeginLoc()
715 if (Res.isNull()) in getContainedAutoTypeLoc()
H A DParentMapContext.cpp368 if (NodeOrVector.isNull()) { in addParent()
395 template <typename T> static bool isNull(T Node) { return !Node; } in isNull() function in ParentMapContext::ParentMap::ASTVisitor
396 static bool isNull(ObjCProtocolLoc Node) { return false; } in isNull() function in ParentMapContext::ParentMap::ASTVisitor
402 if (isNull(Node)) in TraverseNode()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp222 if (parent_qt.isNull()) in CreateDeclInfoForType()
288 if (qt.isNull()) in GetOrCreateDeclForUid()
342 if (qt.isNull()) in CreateDeclInfoForUndecoratedName()
422 if (qt.isNull()) in CompleteType()
501 if (direct_type.isNull()) in CreateSimpleType()
521 if (pointee_type.isNull()) in CreatePointerType()
527 if (class_type.isNull()) in CreatePointerType()
590 if (unmodified_type.isNull()) in CreateModifierType()
673 if (qt.isNull()) in CreateVariableDecl()
732 if (qt.isNull() || !scope) in GetOrCreateTypedefDecl()
[all …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp70 assert(!T.isNull()); in GetElementZeroRegion()
325 assert(!TargetType.isNull()); in evalBaseToDerived()
451 if (!BT.isNull() && !elementType.isNull()) { in getLValueElement()
453 if (!PointeeTy.isNull() && in getLValueElement()
H A DExplodedGraph.cpp223 if (Storage.isNull()) { in addNode()
253 if (Storage.isNull()) in size()
265 if (Storage.isNull()) in begin()
277 if (Storage.isNull()) in end()
H A DSVals.cpp159 if (NestedType.isNull()) in VisitNonLocLocAsInteger()
202 return getPTMData().isNull(); in isNullMemberPointer()
207 if (PTMD.isNull()) in getDecl()
H A DProgramState.cpp270 if (!T.isNull() && (T->isIntegralOrEnumerationType() || Loc::isLocType(T))) { in getSVal()
332 if (indexTy.isNull()) in assumeInBoundDual()
371 ConditionTruthVal IsNull = isNull(V); in isNonNull()
381 ConditionTruthVal ProgramState::isNull(SVal V) const { in isNull() function in ProgramState
392 return getStateManager().ConstraintMgr->isNull(this, Sym); in isNull()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCodeComplete.cpp116 if (DeclOrVector.isNull()) { in Add()
532 if (!ContextType.isNull() && ContextType->isPointerType()) in getPreferredTypeOfUnaryArg()
536 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
544 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
601 Type = !CastType.isNull() ? CastType.getCanonicalType() : QualType(); in enterTypeCast()
681 if (DeclOrVector.isNull()) in begin()
692 if (DeclOrVector.is<const NamedDecl *>() || DeclOrVector.isNull()) in end()
932 if (T.isNull()) in getDeclUsageType()
1020 if (!PreferredSelector.isNull()) in AdjustResultPriorityForDecl()
1027 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl()
[all …]
H A DSemaTemplateDeduction.cpp216 if (X.isNull()) in checkDeducedTemplateArguments()
218 if (Y.isNull()) in checkDeducedTemplateArguments()
228 if (!XType.isNull()) { in checkDeducedTemplateArguments()
230 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
363 if (Merged.isNull() && !(XA->isNull() && YA->isNull())) in checkDeducedTemplateArguments()
390 if (Result.isNull()) { in DeduceNonTypeTemplateArgument()
516 if (Result.isNull()) { in DeduceTemplateArguments()
866 if (!Pack.New.empty() || !DeducedArg.isNull()) { in nextPackElement()
928 if (Pack.Outer->DeferredDeduction.isNull()) { in finish()
945 if (!Result.isNull() && !Pack.DeferredDeduction.isNull()) { in finish()
[all …]
H A DTreeTransform.h222 return T.isNull(); in AlreadyTransformed()
1104 if (InstName.isNull()) in RebuildDependentTemplateSpecializationType()
1117 if (T.isNull()) in RebuildDependentTemplateSpecializationType()
4373 if (NewT.isNull()) in TransformDeclarationNameInfo()
4427 ObjectType.isNull()) in TransformTemplateName()
4499 if (NewT.isNull()) in TransformTemplateArgument()
4552 if (Template.isNull()) in TransformTemplateArgument()
4713 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4731 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4748 if (Out.getArgument().isNull()) in TransformTemplateArguments()
[all …]
H A DSemaTemplateVariadic.cpp145 if ((!T.isNull() && T->containsUnexpandedParameterPack()) || InLambda) in TraverseType()
154 if ((!TL.getType().isNull() && in TraverseTypeLoc()
491 if (Template.isNull() || !Template.containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
503 if (Arg.getArgument().isNull() || in DiagnoseUnexpandedParameterPack()
613 if (Result.isNull()) in CheckPackExpansion()
868 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
939 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks()
956 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaCXXScopeSpec.cpp29 if (T.isNull()) in getCurrentInstantiationOf()
406 if (!ObjectType.isNull()) { in isNonTypeNestedNameSpecifier()
515 if (!ObjectType.isNull()) { in BuildCXXNestedNameSpecifier()
543 if (!ObjectType.isNull() && Found.empty()) { in BuildCXXNestedNameSpecifier()
674 if (!ObjectType.isNull() && !ObjectTypeSearchedInScope && in BuildCXXNestedNameSpecifier()
876 if (T.isNull()) in ActOnCXXNestedNameSpecifierDecltype()
978 if (T.isNull()) in ActOnCXXNestedNameSpecifier()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprComplex.cpp293 if (!promotionTy.isNull()) \
580 QualType promotionTy = PromotionType.isNull() in VisitUnaryPlus()
584 if (!promotionTy.isNull()) in VisitUnaryPlus()
593 if (!PromotionType.isNull()) in VisitPlus()
600 QualType promotionTy = PromotionType.isNull() in VisitUnaryMinus()
604 if (!promotionTy.isNull()) in VisitUnaryMinus()
613 if (!PromotionType.isNull()) in VisitMinus()
989 if (!PromotionType.isNull()) in EmitPromoted()
1004 if (!OverallPromotionType.isNull()) in EmitPromotedComplexOperand()
1009 if (!OverallPromotionType.isNull()) { in EmitPromotedComplexOperand()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp116 if (element.type.isNull()) in BuildAggregate()
330 if (target_type.isNull()) in BuildType()
348 if (target_type.isNull()) in BuildType()
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/
H A DSelectorExtras.h29 if (!Sel.isNull()) in lazyInitKeywordSelector()

12345678910