Home
last modified time | relevance | path

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

123456789

/freebsd-13.1/contrib/llvm-project/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()));
/freebsd-13.1/contrib/llvm-project/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.h192 bool isNull() const { in isNull() function
203 return isNull() || isEmpty(); in isNullary()
512 if (isNull() || Suffix.isNull()) in concat()
/freebsd-13.1/contrib/llvm-project/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 DMIGChecker.cpp231 if (!State->isNull(V).isConstrainedFalse()) in mayBeSuccess()
240 if (!State->isNull(V).isConstrainedTrue()) in mayBeSuccess()
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()
/freebsd-13.1/contrib/llvm-project/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()
1024 if (returnType.isNull()) in VisitFunctionNoProtoType()
1035 if (returnType.isNull()) in VisitFunctionProtoType()
1083 if (innerType.isNull()) in VisitParenType()
1190 if (baseType.isNull()) in VisitObjCObjectType()
1233 if (valueType.isNull()) in VisitAtomicType()
1422 if (newType.isNull()) in VisitAttributedType()
1793 if (T.isNull()) in Visit()
2348 if (isNull()) in isCXX98PODType()
2397 if (isNull()) in isTrivialType()
[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.cpp245 if (CompareTy.isNull()) in ConvertTypeToDiagnosticString()
1115 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff()
1138 bool FromDefault = FromIter.isEnd() && !FromType.isNull(); in DiffTypes()
1139 bool ToDefault = ToIter.isEnd() && !ToType.isNull(); in DiffTypes()
1145 Tree.SetSame(!FromType.isNull() && !ToType.isNull() && in DiffTypes()
1630 assert((!FromType.isNull() || !ToType.isNull()) && in PrintTypeNames()
1638 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames()
1648 std::string FromTypeStr = FromType.isNull() ? "(no argument)" in PrintTypeNames()
1650 std::string ToTypeStr = ToType.isNull() ? "(no argument)" in PrintTypeNames()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp930 if (T.isNull()) in getDeclUsageType()
1027 if (!T.isNull()) { in AdjustResultPriorityForDecl()
1565 if (T.isNull()) in IsObjCMessageReceiver()
1590 if (T.isNull()) in IsObjCCollection()
1948 if (ThisTy.isNull()) in addThisCompletion()
4221 if (!ThisType.isNull()) in CodeCompleteOrdinaryName()
4384 assert(!T.isNull()); in TryDeconstructFunctionLike()
5218 if (Callee.isNull()) in getApproximateType()
5912 if (BaseType.isNull()) in CodeCompleteDesignator()
7174 if (Sel.isNull()) in GetAssumedMessageSendExprType()
[all …]
H A DSemaTemplateDeduction.cpp229 if (X.isNull()) in checkDeducedTemplateArguments()
231 if (Y.isNull()) in checkDeducedTemplateArguments()
241 if (!XType.isNull()) { in checkDeducedTemplateArguments()
369 if (Merged.isNull() && !(XA->isNull() && YA->isNull())) in checkDeducedTemplateArguments()
396 if (Result.isNull()) { in DeduceNonTypeTemplateArgument()
522 if (Result.isNull()) { in DeduceTemplateArguments()
941 if (!Result.isNull() && !Pack.DeferredDeduction.isNull()) { in finish()
2742 if (P.isNull()) { in ConvertDeducedTemplateArgument()
3832 if (!Match.isNull()) in ResolveOverloadForDeduction()
4912 if (Result.isNull()) in DeduceAutoType()
[all …]
H A DTreeTransform.h221 return T.isNull(); in AlreadyTransformed()
4343 if (NewT.isNull()) in TransformTemplateArgument()
4648 if (Result.isNull()) in TransformType()
6808 if (Inner.isNull()) in TransformParenType()
6830 if (Inner.isNull()) in TransformMacroQualifiedType()
7977 if (T.isNull()) in TransformObjCAtCatchStmt()
11268 if (T.isNull()) in TransformImplicitValueInitExpr()
12251 if (To.isNull()) in TransformTypeTraitExpr()
12258 if (To.isNull()) in TransformTypeTraitExpr()
12561 if (T.isNull()) in TransformCXXConstructExpr()
[all …]
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()
869 if (T.isNull()) in ActOnCXXNestedNameSpecifierDecltype()
971 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()
/freebsd-13.1/contrib/llvm-project/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 DSVals.cpp168 if (NestedType.isNull()) in VisitNonLocLocAsInteger()
212 return getPTMData().isNull(); in isNullMemberPointer()
217 if (PTMD.isNull()) in getDecl()
H A DSValBuilder.cpp573 if (CastTy.isNull()) in evalCast()
578 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCast()
688 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
743 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
899 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
957 const bool IsUnknownOriginalType = OriginalTy.isNull(); in evalCastSubKind()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp114 if (element.type.isNull()) in BuildAggregate()
327 if (target_type.isNull()) in BuildType()
345 if (target_type.isNull()) in BuildType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DSelectorExtras.h29 if (!Sel.isNull()) in lazyInitKeywordSelector()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicTypeInfo.h31 bool isValid() const { return !DynTy.isNull(); } in isValid()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaFixItUtils.h84 bool isNull() { in isNull() function

123456789