| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | SValTest.cpp | 167 ASSERT_FALSE(X.getType(Context).isNull()); 171 ASSERT_FALSE(Y.getType(Context).isNull()); 176 ASSERT_FALSE(Z.getType(Context).isNull()); 187 ASSERT_FALSE(A.getType(Context).isNull()); 194 ASSERT_FALSE(B.getType(Context).isNull()); 198 ASSERT_FALSE(C.getType(Context).isNull()); 211 ASSERT_FALSE(X.getType(Context).isNull()); 215 ASSERT_FALSE(Y.getType(Context).isNull()); 220 ASSERT_FALSE(Z.getType(Context).isNull()); 242 ASSERT_FALSE(A.getType(Context).isNull()); [all …]
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | PointerUnionTest.cpp | 62 EXPECT_FALSE(a.isNull()); in TEST_F() 63 EXPECT_FALSE(b.isNull()); in TEST_F() 64 EXPECT_TRUE(n.isNull()); in TEST_F() 78 EXPECT_FALSE(i3.isNull()); in TEST_F() 79 EXPECT_FALSE(f3.isNull()); in TEST_F() 80 EXPECT_FALSE(l3.isNull()); in TEST_F() 81 EXPECT_FALSE(i4.isNull()); in TEST_F() 82 EXPECT_FALSE(f4.isNull()); in TEST_F() 83 EXPECT_FALSE(l4.isNull()); in TEST_F() 84 EXPECT_FALSE(d4.isNull()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclContextInternals.h | 97 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 D | CanonicalType.h | 95 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()));
|
| /llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/ |
| H A D | storepointer-compare-no-null-opt.ll | 24 br i1 %CC, label %isNull, label %DoCall 25 ; CHECK: br i1 %CC, label %isNull, label %DoCall 34 isNull: ; preds = %0 35 ; CHECK: isNull:
|
| H A D | storepointer-compare.ll | 21 br i1 %CC, label %isNull, label %DoCall 27 isNull: ; preds = %0
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | TinyPtrVector.h | 138 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 D | Twine.h | 192 bool isNull() const { in isNull() function 203 return isNull() || isEmpty(); in isNullary() 512 if (isNull() || Suffix.isNull()) in concat()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXType.cpp | 299 if (T.isNull()) in clang_getTypeSpelling() 402 if (T.isNull()) in clang_getCanonicalType() 641 if (T.isNull()) in clang_isFunctionTypeVariadic() 655 if (T.isNull()) in clang_getFunctionTypeCallingConv() 692 if (T.isNull()) in clang_getNumArgTypes() 708 if (T.isNull()) in clang_getArgType() 724 if (T.isNull()) in clang_getResultType() 777 if (T.isNull()) in clang_getExceptionSpecificationType() 795 if (T.isNull()) in clang_isPODType() 1056 if (T.isNull()) in clang_Type_getModifiedType() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ExpectedTypes.cpp | 22 if (T.isNull() || T->isDependentType()) in toEquivClass() 53 if (T.isNull()) in typeOfCompletion() 67 if (T.isNull()) in encode()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTransparentFunctorsCheck.cpp | 71 while (Result.isNull() && !Loc.isNull()) { in getInnerTypeLocAs() 115 if (FunctorTypeLoc.isNull()) in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ReturnUndefChecker.cpp | 57 if (!RT.isNull() && RT->isVoidType()) in checkPreStmt() 63 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) && in checkPreStmt() 71 if (RT.isNull()) in checkPreStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | NSAPI.cpp | 43 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() 516 if (!Ctx.getLangOpts().ObjC || T.isNull()) in GetNSIntegralKind() 570 if (T.isNull()) in isObjCTypedef() 605 if (Sel.isNull()) { in getOrInitSelector() 616 if (Sel.isNull()) { in getOrInitNullarySelector()
|
| H A D | Type.cpp | 853 if (result.isNull()) in recurse() 1030 if (returnType.isNull()) in VisitFunctionNoProtoType() 1041 if (returnType.isNull()) in VisitFunctionProtoType() 1089 if (innerType.isNull()) in VisitParenType() 1196 if (baseType.isNull()) in VisitObjCObjectType() 1239 if (valueType.isNull()) in VisitAtomicType() 1428 if (newType.isNull()) in VisitAttributedType() 1799 if (T.isNull()) in Visit() 2372 if (isNull()) in isCXX98PODType() 2421 if (isNull()) in isTrivialType() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UndefinedMemoryManipulationCheck.cpp | 52 if (!DestType->getPointeeType().isNull()) in check() 60 if (!SourceType->getPointeeType().isNull()) in check()
|
| /llvm-project-15.0.7/llvm/test/Analysis/BasicAA/ |
| H A D | pr31761.ll | 13 %isNull = icmp eq %struct.blam* %arg, null 16 %select = select i1 %isNull, i32* null, i32* %tmp2
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/ |
| H A D | RegistryTest.cpp | 424 EXPECT_TRUE(constructMatcher("hasInitializer", Error.get()).isNull()); in TEST_F() 428 EXPECT_TRUE(constructMatcher("isArrow", StringRef(), Error.get()).isNull()); in TEST_F() 432 EXPECT_TRUE(constructMatcher("anyOf", Error.get()).isNull()); in TEST_F() 437 Error.get()).isNull()); in TEST_F() 443 EXPECT_TRUE(constructMatcher("ofClass", StringRef(), Error.get()).isNull()); in TEST_F() 451 .isNull()); in TEST_F() 459 Error.get()).isNull()); in TEST_F() 469 Error.get()).isNull()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/ |
| H A D | ExecutorAddressTest.cpp | 24 EXPECT_TRUE(Null.isNull()); in TEST() 27 EXPECT_FALSE(NonNull.isNull()); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolID.h | 55 bool isNull() const { return *this == SymbolID(); } in isNull() function 56 explicit operator bool() const { return !isNull(); }
|
| /llvm-project-15.0.7/compiler-rt/lib/orc/unittests/ |
| H A D | executor_address_test.cpp | 29 EXPECT_TRUE(Null.isNull()); in TEST() 32 EXPECT_FALSE(NonNull.isNull()); in TEST()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.cpp | 540 if (qt.isNull()) in GetOrCreateDeclForUid() 591 if (qt.isNull()) in CreateDeclInfoForUndecoratedName() 634 if (qt.isNull()) in GetParentDeclContextForSymbol() 714 if (qt.isNull()) in CompleteType() 963 if (qt.isNull()) in CreateVariableDecl() 1013 if (qt.isNull()) in GetOrCreateTypedefDecl() 1100 if (qt.isNull()) in GetOrCreateType() 1109 if (qt.isNull()) in GetOrCreateType() 1268 if (func_qt.isNull()) in CreateFunctionDeclFromId() 1296 if (qt.isNull()) in GetOrCreateFunctionDecl() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | Store.cpp | 70 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | TypeTraits.cpp | 93 if (Type.isNull()) in isTriviallyDefaultConstructible() 140 if (Type.isNull()) in isTriviallyDestructible()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCodeComplete.cpp | 931 if (T.isNull()) in getDeclUsageType() 1028 if (!T.isNull()) { in AdjustResultPriorityForDecl() 1570 if (T.isNull()) in IsObjCMessageReceiver() 1595 if (T.isNull()) in IsObjCCollection() 1954 if (ThisTy.isNull()) in addThisCompletion() 4655 assert(!T.isNull()); in TryDeconstructFunctionLike() 5489 if (Callee.isNull()) in getApproximateType() 5532 Base.isNull() in getApproximateType() 6391 if (BaseType.isNull()) in CodeCompleteDesignator() 7661 if (Sel.isNull()) in GetAssumedMessageSendExprType() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 215 if (X.isNull()) in checkDeducedTemplateArguments() 217 if (Y.isNull()) in checkDeducedTemplateArguments() 227 if (!XType.isNull()) { in checkDeducedTemplateArguments() 355 if (Merged.isNull() && !(XA->isNull() && YA->isNull())) in checkDeducedTemplateArguments() 382 if (Result.isNull()) { in DeduceNonTypeTemplateArgument() 508 if (Result.isNull()) { in DeduceTemplateArguments() 926 if (!Result.isNull() && !Pack.DeferredDeduction.isNull()) { in finish() 2603 if (P.isNull()) { in ConvertDeducedTemplateArgument() 4225 if (!ArgFunctionType.isNull() && !FunctionType.isNull()) { in DeduceTemplateArguments() 4785 if (Result.isNull()) in DeduceAutoType() [all …]
|