Home
last modified time | relevance | path

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

12345678

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclContextInternals.h69 bool isNull() const { return Data.isNull(); } in isNull() function
108 assert(!isNull() && "removing from empty list"); in remove()
128 if (isNull()) { in removeExternalDecls()
146 if (isNull()) in getLookupResult()
151 assert(!isNull() && "Empty list isn't allowed"); in getLookupResult()
192 assert(!isNull() && "don't AddSubsequentDecl when we have no decls"); in AddSubsequentDecl()
H A DCanonicalType.h96 explicit operator bool() const { return !isNull(); }
98 bool isNull() const { in isNull() function
99 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-12.1/contrib/llvm/include/llvm/ADT/
H A DTinyPtrVector.h135 if (Val.isNull())
144 if (Val.isNull())
163 if (Val.isNull()) return true; in empty()
191 return begin() + (Val.isNull() ? 0 : 1); in end()
216 assert(!Val.isNull() && "can't index into an empty vector");
245 if (Val.isNull()) { in push_back()
316 assert(!Val.isNull() && "Null value with non-end insert iterator."); in insert()
336 if (Val.isNull()) { in insert()
H A DPointerUnion.h114 bool isNull() const {
120 explicit operator bool() const { return !isNull(); }
269 bool isNull() const { return Val.isNull(); }
270 explicit operator bool() const { return !isNull(); }
376 bool isNull() const { return Val.isNull(); }
377 explicit operator bool() const { return !isNull(); }
H A DTwine.h189 bool isNull() const { in isNull() function
200 return isNull() || isEmpty(); in isNullary()
488 if (isNull() || Suffix.isNull()) in concat()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DNSAPI.cpp44 if (NSStringSelectors[MK].isNull()) { in getNSStringSelector()
91 if (NSArraySelectors[MK].isNull()) { in getNSArraySelector()
169 if (NSDictionarySelectors[MK].isNull()) { in getNSDictionarySelector()
270 if (NSSetSelectors[MK].isNull()) { in getNSSetSelector()
373 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.cpp760 if (elementType.isNull()) in TRIVIAL_TYPE_CLASS()
771 if (pointeeType.isNull()) in VisitPointerType()
890 if (returnType.isNull()) in VisitFunctionNoProtoType()
901 if (returnType.isNull()) in VisitFunctionProtoType()
949 if (innerType.isNull()) in VisitParenType()
1056 if (baseType.isNull()) in TRIVIAL_TYPE_CLASS()
1099 if (valueType.isNull()) in VisitAtomicType()
1129 if (result.isNull()) in simpleTransform()
1653 if (T.isNull()) in Visit()
2113 if (isNull()) in isCXX98PODType()
[all …]
H A DASTDiagnostic.cpp240 if (CompareTy.isNull()) in ConvertTypeToDiagnosticString()
1097 if (FromType.isNull() || ToType.isNull()) in OnlyPerformTypeDiff()
1120 bool FromDefault = FromIter.isEnd() && !FromType.isNull(); in DiffTypes()
1121 bool ToDefault = ToIter.isEnd() && !ToType.isNull(); in DiffTypes()
1127 Tree.SetSame(!FromType.isNull() && !ToType.isNull() && in DiffTypes()
1612 assert((!FromType.isNull() || !ToType.isNull()) && in PrintTypeNames()
1620 if (!FromType.isNull() && !ToType.isNull() && in PrintTypeNames()
1630 std::string FromTypeStr = FromType.isNull() ? "(no argument)" in PrintTypeNames()
1632 std::string ToTypeStr = ToType.isNull() ? "(no argument)" in PrintTypeNames()
H A DTypeLoc.cpp53 if (TL.isNull()) return SourceRange(); in getLocalSourceRangeImpl()
73 if (Ty.isNull()) return 1; in getLocalAlignmentForType()
96 while (!TyLoc.isNull()) { in getFullDataSizeForType()
218 if (Cur.isNull()) in getBeginLoc()
H A DTemplateName.cpp77 bool TemplateName::isNull() const { return Storage.isNull(); } in isNull() function in TemplateName
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DReturnUndefChecker.cpp58 if (!RT.isNull() && RT->isVoidType()) in checkPreStmt()
64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt()
72 if (RT.isNull()) in checkPreStmt()
H A DGenericTaintChecker.cpp150 inline bool isNull() const { return SrcArgs.empty(); } in isNull() function
230 if (!Rule.isNull()) in REGISTER_SET_WITH_PROGRAMSTATE()
254 if (Rule.isNull()) { in REGISTER_SET_WITH_PROGRAMSTATE()
309 if (!Rule.isNull()) { in addSourcesPre()
503 if ((!PType.isNull() && !PType.isConstQualified()) || in process()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DTreeTransform.h204 return T.isNull(); in AlreadyTransformed()
4168 if (Result.isNull()) in TransformType()
4227 if (Result.isNull()) in TransformTypeWithDeducedTST()
4245 if (Result.isNull()) in TransformQualifiedType()
6145 if (Inner.isNull()) in TransformParenType()
7252 if (T.isNull()) in TransformObjCAtCatchStmt()
9768 if (T.isNull()) in TransformImplicitValueInitExpr()
10697 if (To.isNull()) in TransformTypeTraitExpr()
10704 if (To.isNull()) in TransformTypeTraitExpr()
10852 if (T.isNull()) in TransformCXXConstructExpr()
[all …]
H A DSemaTemplateDeduction.cpp218 if (X.isNull()) in checkDeducedTemplateArguments()
220 if (Y.isNull()) in checkDeducedTemplateArguments()
230 if (!XType.isNull()) { in checkDeducedTemplateArguments()
358 if (Merged.isNull()) in checkDeducedTemplateArguments()
385 if (Result.isNull()) { in DeduceNonTypeTemplateArgument()
503 if (Result.isNull()) { in DeduceTemplateArguments()
927 if (!Result.isNull() && !Pack.DeferredDeduction.isNull()) { in finish()
2544 if (P.isNull()) { in ConvertDeducedTemplateArgument()
3562 if (!Match.isNull()) in ResolveOverloadForDeduction()
4541 if (Result.isNull()) in DeduceAutoType()
[all …]
H A DSemaCodeComplete.cpp419 if (DeclOrVector.isNull()) in begin()
685 if (T.isNull()) in getDeclUsageType()
782 if (!T.isNull()) { in AdjustResultPriorityForDecl()
1237 if (T.isNull()) in IsObjCMessageReceiver()
1262 if (T.isNull()) in IsObjCCollection()
1609 if (ThisTy.isNull()) in addThisCompletion()
2276 if (!BaseType.isNull()) in AddResultTypeChunk()
3743 if (!ThisType.isNull()) in CodeCompleteOrdinaryName()
4814 if (ResultType.isNull()) in CodeCompleteReturn()
6033 if (Sel.isNull()) in GetAssumedMessageSendExprType()
[all …]
H A DSemaTemplateVariadic.cpp145 if ((!T.isNull() && T->containsUnexpandedParameterPack()) || InLambda) in TraverseType()
154 if ((!TL.getType().isNull() && in TraverseTypeLoc()
455 if (Template.isNull() || !Template.containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
467 if (Arg.getArgument().isNull() || in DiagnoseUnexpandedParameterPack()
576 if (Result.isNull()) in CheckPackExpansion()
825 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
892 assert(!ParamTy.isNull() && "Couldn't parse type?"); in containsUnexpandedParameterPacks()
909 if (!T.isNull() && T->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DSemaCXXScopeSpec.cpp30 if (T.isNull()) in getCurrentInstantiationOf()
393 if (!ObjectType.isNull()) { in isNonTypeNestedNameSpecifier()
497 if (!ObjectType.isNull()) { in BuildCXXNestedNameSpecifier()
525 if (!ObjectType.isNull() && Found.empty()) { in BuildCXXNestedNameSpecifier()
656 if (!ObjectType.isNull() && !ObjectTypeSearchedInScope && in BuildCXXNestedNameSpecifier()
851 if (T.isNull()) in ActOnCXXNestedNameSpecifierDecltype()
946 if (T.isNull()) in ActOnCXXNestedNameSpecifier()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp225 if (Storage.isNull()) { in addNode()
255 if (Storage.isNull()) in size()
267 if (Storage.isNull()) in begin()
279 if (Storage.isNull()) in end()
H A DBugReporterVisitors.cpp372 if (PT.isNull() || PT->isVoidType()) break; in VisitNode()
435 if (PT.isNull() || PT->isVoidType() || !VR) continue;
546 return !Ty->getPointeeType().isNull() && in isPointerToConst()
900 if (State->isNull(V).isConstrainedTrue()) { in visitNodeInitial()
986 if (!State->isNull(*ArgV).isConstrainedTrue()) in visitNodeMaybeUnsuppress()
1412 assert(N->getState()->isNull(V).isConstrainedTrue() && in SuppressInlineDefensiveChecksVisitor()
1437 if (Succ->getState()->isNull(V).isConstrainedTrue()) in VisitNode()
1444 if (!Pred->getState()->isNull(V).isConstrainedTrue()) { in VisitNode()
1447 assert(Succ->getState()->isNull(V).isConstrainedTrue()); in VisitNode()
1623 bool LVIsNull = LVState->isNull(LVal).isConstrainedTrue(); in trackExpressionValue()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp124 if (element.type.isNull()) in BuildAggregate()
350 if (target_type.isNull()) in BuildType()
367 if (target_type.isNull()) in BuildType()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/
H A DSelectorExtras.h30 if (!Sel.isNull()) in lazyInitKeywordSelector()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicTypeInfo.h31 bool isValid() const { return !T.isNull(); } in isValid()
H A DSMTConv.h543 if (Int.getBitWidth() == 1 && getAPSIntType(Ctx, Int).isNull()) { in fixAPSInt()
557 assert(!LTy.isNull() && !RTy.isNull() && "Input type is null!"); in doTypeConversion()
637 assert(!LTy.isNull() && !RTy.isNull() && "Input type is null!"); in doIntTypeConversion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp183 if (Attr.ModifiedType.isNull()) in errorForGCAttrsOnNonObjC()
199 if (Attr.ModifiedType.isNull() || in checkWeakGCAttrs()
226 if (T.isNull() || !T->isObjCRetainableType()) in checkAllAtProps()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangUtil.cpp54 if (qual_type.isNull()) in GetAsTagDecl()

12345678