Home
last modified time | relevance | path

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

123456789

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclContextInternals.h98 if (isNull()) in MaybeDeallocList()
122 bool isNull() const { return Data.getPointer().isNull(); } in isNull() function
125 assert(!isNull() && "No ASTContext."); in getASTContext()
150 assert(!isNull() && "removing from empty list"); in remove()
190 if (Head.isNull()) { in replaceExternalDecls()
219 if (isNull()) { in addOrReplaceDecl()
267 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()
643 assert((Other.isNull() || Other.isCanonical()) && "Type is not canonical!");
644 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
657 if (Stored.isNull())
672 assert(!Stored.isNull() && isa<U>(Stored.getTypePtr()));
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DTinyPtrVector.h138 if (Val.isNull())
147 if (Val.isNull())
166 if (Val.isNull()) return true; in empty()
194 return begin() + (Val.isNull() ? 0 : 1); in end()
219 assert(!Val.isNull() && "can't index into an empty vector");
246 if (Val.isNull()) { in push_back()
248 assert(!Val.isNull() && "Can't add a null value"); in push_back()
319 assert(!Val.isNull() && "Null value with non-end insert iterator."); in insert()
340 if (Val.isNull()) { in insert()
H A DTwine.h188 bool isNull() const { in isNull() function
199 return isNull() || isEmpty(); in isNullary()
490 if (isNull() || Suffix.isNull()) in concat()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp129 if (TU && !T.isNull()) { in MakeCXType()
179 assert(!Type.isNull()); in GetTemplateArguments()
293 if (T.isNull()) in clang_getTypeSpelling()
396 if (T.isNull()) in clang_getCanonicalType()
633 if (T.isNull()) in clang_isFunctionTypeVariadic()
647 if (T.isNull()) in clang_getFunctionTypeCallingConv()
681 if (T.isNull()) in clang_getNumArgTypes()
697 if (T.isNull()) in clang_getArgType()
713 if (T.isNull()) in clang_getResultType()
766 if (T.isNull()) in clang_getExceptionSpecificationType()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DNSAPI.cpp43 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
79 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
157 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
258 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
361 if (Sels[MK].isNull()) in getNSNumberLiteralSelector()
515 if (!Ctx.getLangOpts().ObjC || T.isNull()) in GetNSIntegralKind()
569 if (T.isNull()) in isObjCTypedef()
604 if (Sel.isNull()) { in getOrInitSelector()
615 if (Sel.isNull()) { in getOrInitNullarySelector()
H A DType.cpp847 if (result.isNull()) in recurse()
872 if (desugaredType.isNull()) \
883 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
894 if (pointeeType.isNull()) in VisitPointerType()
905 if (pointeeType.isNull()) in VisitBlockPointerType()
916 if (pointeeType.isNull()) in VisitLValueReferenceType()
928 if (pointeeType.isNull()) in VisitRValueReferenceType()
940 if (pointeeType.isNull()) in VisitMemberPointerType()
951 if (elementType.isNull()) in VisitConstantArrayType()
964 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()
219 if (Cur.isNull()) in getBeginLoc()
692 if (Res.isNull()) in getContainedAutoTypeLoc()
H A DASTDiagnostic.cpp244 if (CompareTy.isNull()) in ConvertTypeToDiagnosticString()
1114 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff()
1137 bool FromDefault = FromIter.isEnd() && !FromType.isNull(); in DiffTypes()
1138 bool ToDefault = ToIter.isEnd() && !ToType.isNull(); in DiffTypes()
1144 Tree.SetSame(!FromType.isNull() && !ToType.isNull() && in DiffTypes()
1629 assert((!FromType.isNull() || !ToType.isNull()) && in PrintTypeNames()
1637 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames()
1647 std::string FromTypeStr = FromType.isNull() ? "(no argument)" in PrintTypeNames()
1649 std::string ToTypeStr = ToType.isNull() ? "(no argument)" in PrintTypeNames()
/netbsd-src/external/apache2/llvm/dist/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.cpp79 return C.getState()->isNull(*ReturnDV).isConstrainedTrue(); in isInvariantBreak()
81 return C.getState()->isNull(*ReturnDV).isConstrainedFalse(); in isInvariantBreak()
H A DDynamicTypePropagation.cpp183 if (InferredType.isNull()) { in inferReceiverType()
215 if (InferredType.isNull()) { in inferReceiverType()
448 if (OldDTy.isNull()) { in getBetterObjCType()
482 if (To->getObjectType()->getSuperClassType().isNull()) { in getMostInformativeDerivedClassImpl()
958 if (!ReceiversSuperClass.isNull()) { in checkPostObjCMessage()
993 if (ResultType.isNull()) in checkPostObjCMessage()
H A DMIGChecker.cpp231 if (!State->isNull(V).isConstrainedFalse()) in mayBeSuccess()
240 if (!State->isNull(V).isConstrainedTrue()) in mayBeSuccess()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dtypecons.d2402 if (isNull)
2415 if (isNull)
2432 @property bool isNull() const @safe pure nothrow
2441 assert(ni.isNull);
2444 assert(!ni.isNull);
2472 assert(!ni.isNull);
2475 assert(ni.isNull);
2504 assert(npi.isNull);
2508 assert(!npi.isNull);
2521 assert(!isNull, message);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dtypecons.d2950 if (isNull)
2961 if (isNull)
2973 @property bool isNull() const @safe pure nothrow
2982 assert(ni.isNull);
2985 assert(!ni.isNull);
3026 assert(!ni.isNull);
3029 assert(ni.isNull);
3073 assert(npi.isNull);
3077 assert(!npi.isNull);
3097 assert(!isNull, message);
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCodeComplete.cpp111 if (DeclOrVector.isNull()) { in Add()
527 if (!ContextType.isNull() && ContextType->isPointerType()) in getPreferredTypeOfUnaryArg()
531 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
539 if (ContextType.isNull()) in getPreferredTypeOfUnaryArg()
597 Type = !CastType.isNull() ? CastType.getCanonicalType() : QualType(); in enterTypeCast()
677 if (DeclOrVector.isNull()) in begin()
688 if (DeclOrVector.is<const NamedDecl *>() || DeclOrVector.isNull()) in end()
930 if (T.isNull()) in getDeclUsageType()
1018 if (!PreferredSelector.isNull()) in AdjustResultPriorityForDecl()
1025 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl()
[all …]
H A DTreeTransform.h221 return T.isNull(); in AlreadyTransformed()
1054 if (InstName.isNull()) in RebuildDependentTemplateSpecializationType()
1068 if (T.isNull()) return QualType(); in RebuildDependentTemplateSpecializationType()
4187 if (NewT.isNull()) in TransformDeclarationNameInfo()
4241 ObjectType.isNull()) in TransformTemplateName()
4322 if (NewT.isNull()) in TransformTemplateArgument()
4375 if (Template.isNull()) in TransformTemplateArgument()
4534 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4552 if (Out.getArgument().isNull()) in TransformTemplateArguments()
4569 if (Out.getArgument().isNull()) in TransformTemplateArguments()
[all …]
H A DSemaTemplateDeduction.cpp229 if (X.isNull()) in checkDeducedTemplateArguments()
231 if (Y.isNull()) in checkDeducedTemplateArguments()
241 if (!XType.isNull()) { in checkDeducedTemplateArguments()
243 if (YType.isNull() || !Context.hasSameType(XType, YType)) in checkDeducedTemplateArguments()
369 if (Merged.isNull() && !(XA->isNull() && YA->isNull())) in checkDeducedTemplateArguments()
396 if (Result.isNull()) { in DeduceNonTypeTemplateArgument()
522 if (Result.isNull()) { in DeduceTemplateArguments()
862 if (!Pack.New.empty() || !DeducedArg.isNull()) { in nextPackElement()
924 if (Pack.Outer->DeferredDeduction.isNull()) { in finish()
941 if (!Result.isNull() && !Pack.DeferredDeduction.isNull()) { in finish()
[all …]
H A DSemaCXXScopeSpec.cpp29 if (T.isNull()) in getCurrentInstantiationOf()
392 if (!ObjectType.isNull()) { in isNonTypeNestedNameSpecifier()
501 if (!ObjectType.isNull()) { in BuildCXXNestedNameSpecifier()
529 if (!ObjectType.isNull() && Found.empty()) { in BuildCXXNestedNameSpecifier()
660 if (!ObjectType.isNull() && !ObjectTypeSearchedInScope && in BuildCXXNestedNameSpecifier()
855 if (T.isNull()) in ActOnCXXNestedNameSpecifierDecltype()
957 if (T.isNull()) in ActOnCXXNestedNameSpecifier()
H A DSemaTemplateVariadic.cpp144 if ((!T.isNull() && T->containsUnexpandedParameterPack()) || InLambda) in TraverseType()
153 if ((!TL.getType().isNull() && in TraverseTypeLoc()
491 if (Template.isNull() || !Template.containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
503 if (Arg.getArgument().isNull() || in DiagnoseUnexpandedParameterPack()
612 if (Result.isNull()) in CheckPackExpansion()
867 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
936 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks()
953 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp224 if (Storage.isNull()) { in addNode()
254 if (Storage.isNull()) in size()
266 if (Storage.isNull()) in begin()
278 if (Storage.isNull()) in end()
H A DProgramState.cpp275 if (!T.isNull() && (T->isIntegralOrEnumerationType() || Loc::isLocType(T))) { in getSVal()
337 if (indexTy.isNull()) in assumeInBound()
367 ConditionTruthVal IsNull = isNull(V); in isNonNull()
377 ConditionTruthVal ProgramState::isNull(SVal V) const { in isNull() function in ProgramState
388 return getStateManager().ConstraintMgr->isNull(this, Sym); in isNull()
H A DSValBuilder.cpp559 if (CastTy.isNull()) in evalCast()
564 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCast()
674 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
715 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
871 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
929 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp185 if (Attr.ModifiedType.isNull()) in errorForGCAttrsOnNonObjC()
201 if (Attr.ModifiedType.isNull() || in checkWeakGCAttrs()
228 if (T.isNull() || !T->isObjCRetainableType()) in checkAllAtProps()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DSelectorExtras.h29 if (!Sel.isNull()) in lazyInitKeywordSelector()

123456789