| /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/ |
| H A D | nullptr_in_arithmetic_ops.cpp | 7 a = 0 ? nullptr + a : a + nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 8 a = 0 ? nullptr - a : a - nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 9 a = 0 ? nullptr / a : a / nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 10 a = 0 ? nullptr * a : a * nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 11 a = 0 ? nullptr >> a : a >> nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 12 a = 0 ? nullptr << a : a << nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 13 a = 0 ? nullptr % a : a % nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 14 a = 0 ? nullptr & a : a & nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 15 a = 0 ? nullptr | a : a | nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() 16 a = 0 ? nullptr ^ a : a ^ nullptr; // expected-error 2{{invalid operands to binary expression}} in foo() [all …]
|
| H A D | nullptr.cpp | 4 typedef decltype(nullptr) nullptr_t; 16 null = nullptr; in f() 17 void *p = nullptr; in f() 19 int *pi = nullptr; in f() 22 int A::*pm = nullptr; in f() 24 void (*pf)() = nullptr; in f() 26 void (A::*pmf)() = nullptr; in f() 28 bool b = nullptr; in f() 31 uintptr_t i = nullptr; // expected-error {{cannot initialize}} in f() 34 (void)(null == nullptr); in f() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | InstructionSimplify.h | 52 const DataLayout *TD = nullptr, 53 const TargetLibraryInfo *TLI = nullptr, 54 const DominatorTree *DT = nullptr, 55 AssumptionCache *AC = nullptr, 56 const Instruction *CxtI = nullptr); 61 const DataLayout *TD = nullptr, 62 const TargetLibraryInfo *TLI = nullptr, 63 const DominatorTree *DT = nullptr, 64 AssumptionCache *AC = nullptr, 65 const Instruction *CxtI = nullptr); [all …]
|
| H A D | ValueTracking.h | 41 const DataLayout *TD = nullptr, unsigned Depth = 0, 42 AssumptionCache *AC = nullptr, 43 const Instruction *CxtI = nullptr, 44 const DominatorTree *DT = nullptr); 53 const DataLayout *TD = nullptr, unsigned Depth = 0, 54 AssumptionCache *AC = nullptr, 55 const Instruction *CxtI = nullptr, 56 const DominatorTree *DT = nullptr); 64 AssumptionCache *AC = nullptr, 65 const Instruction *CxtI = nullptr, [all …]
|
| H A D | ConstantFolding.h | 40 const DataLayout *TD = nullptr, 41 const TargetLibraryInfo *TLI = nullptr); 47 const DataLayout *TD = nullptr, 48 const TargetLibraryInfo *TLI =nullptr); 58 const DataLayout *TD = nullptr, 59 const TargetLibraryInfo *TLI = nullptr); 67 const DataLayout *TD = nullptr, 68 const TargetLibraryInfo *TLI=nullptr); 80 const DataLayout *TD = nullptr); 101 const TargetLibraryInfo *TLI = nullptr);
|
| /minix3/external/bsd/libc++/dist/libcxx/test/language.support/support.types/ |
| H A D | nullptr_t.pass.cpp | 26 assert(p == nullptr); in main() 30 assert(pmf == nullptr); in main() 33 assert(pmd == nullptr); in main() 34 A a1(nullptr); in main() 36 bool b = nullptr; in main() 38 assert(nullptr == nullptr); in main() 39 assert(nullptr <= nullptr); in main() 40 assert(nullptr >= nullptr); in main() 41 assert(!(nullptr != nullptr)); in main() 42 assert(!(nullptr < nullptr)); in main() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
| H A D | cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); in main() 48 assert(!(nullptr == p1)); in main() 49 assert(!(p1 < nullptr)); in main() 50 assert( (nullptr < p1)); in main() 51 assert(!(p1 <= nullptr)); in main() 52 assert( (nullptr <= p1)); in main() 53 assert( (p1 > nullptr)); in main() 54 assert(!(nullptr > p1)); in main() 55 assert( (p1 >= nullptr)); in main() 56 assert(!(nullptr >= p1)); in main() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
| H A D | cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); in main() 48 assert(!(nullptr == p1)); in main() 49 assert(!(p1 < nullptr)); in main() 50 assert( (nullptr < p1)); in main() 51 assert(!(p1 <= nullptr)); in main() 52 assert( (nullptr <= p1)); in main() 53 assert( (p1 > nullptr)); in main() 54 assert(!(nullptr > p1)); in main() 55 assert( (p1 >= nullptr)); in main() 56 assert(!(nullptr >= p1)); in main() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/ |
| H A D | cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); in main() 48 assert(!(nullptr == p1)); in main() 49 assert(!(p1 < nullptr)); in main() 50 assert( (nullptr < p1)); in main() 51 assert(!(p1 <= nullptr)); in main() 52 assert( (nullptr <= p1)); in main() 53 assert( (p1 > nullptr)); in main() 54 assert(!(nullptr > p1)); in main() 55 assert( (p1 >= nullptr)); in main() 56 assert(!(nullptr >= p1)); in main() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/memory/unique.ptr/unique.ptr.special/ |
| H A D | cmp_nullptr.pass.cpp | 47 assert(!(p1 == nullptr)); in main() 48 assert(!(nullptr == p1)); in main() 49 assert(!(p1 < nullptr)); in main() 50 assert( (nullptr < p1)); in main() 51 assert(!(p1 <= nullptr)); in main() 52 assert( (nullptr <= p1)); in main() 53 assert( (p1 > nullptr)); in main() 54 assert(!(nullptr > p1)); in main() 55 assert( (p1 >= nullptr)); in main() 56 assert(!(nullptr >= p1)); in main() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/language.support/support.types/ |
| H A D | nullptr_t.pass.cpp | 26 assert(p == nullptr); in test_conversions() 29 T p = nullptr; in test_conversions() 30 assert(p == nullptr); in test_conversions() 31 assert(nullptr == p); in test_conversions() 32 assert(!(p != nullptr)); in test_conversions() 33 assert(!(nullptr != p)); in test_conversions() 40 T p = nullptr; in test_comparisons() 41 assert(p == nullptr); in test_comparisons() 42 assert(p <= nullptr); in test_comparisons() 43 assert(p >= nullptr); in test_comparisons() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/src/ |
| H A D | debug.cpp | 73 : __cbeg_(nullptr), in __libcpp_db() 74 __cend_(nullptr), in __libcpp_db() 76 __ibeg_(nullptr), in __libcpp_db() 77 __iend_(nullptr), in __libcpp_db() 88 if (*p != nullptr) in ~__libcpp_db() 100 if (*p != nullptr) in ~__libcpp_db() 117 _LIBCPP_ASSERT(i != nullptr, "iterator not found in debug database."); in __find_c_from_i() 118 return i->__c_ != nullptr ? i->__c_->__c_ : nullptr; in __find_c_from_i() 131 if (c == nullptr) in __insert_ic() 136 if (c == nullptr) in __insert_ic() [all …]
|
| H A D | strstream.cpp | 20 __palloc_(nullptr), in strstreambuf() 21 __pfree_(nullptr) in strstreambuf() 40 if (__pbeg == nullptr) in __init() 52 __palloc_(nullptr), in strstreambuf() 53 __pfree_(nullptr) in strstreambuf() 61 __palloc_(nullptr), in strstreambuf() 62 __pfree_(nullptr) in strstreambuf() 64 __init(const_cast<char *>(__gnext), __n, nullptr); in strstreambuf() 70 __palloc_(nullptr), in strstreambuf() 71 __pfree_(nullptr) in strstreambuf() [all …]
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/experimental/any/any.nonmembers/any.cast/ |
| H A D | any_cast_pointer.pass.cpp | 51 any* a = nullptr; in test_cast_nullptr() 52 assert(nullptr == any_cast<int>(a)); in test_cast_nullptr() 53 assert(nullptr == any_cast<int const>(a)); in test_cast_nullptr() 55 any const* ca = nullptr; in test_cast_nullptr() 56 assert(nullptr == any_cast<int>(ca)); in test_cast_nullptr() 57 assert(nullptr == any_cast<int const>(ca)); in test_cast_nullptr() 64 assert(nullptr == any_cast<int>(&a)); in test_cast_empty() 65 assert(nullptr == any_cast<int const>(&a)); in test_cast_empty() 68 assert(nullptr == any_cast<int>(&ca)); in test_cast_empty() 69 assert(nullptr == any_cast<int const>(&ca)); in test_cast_empty() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCWinEH.h | 49 : Begin(nullptr), End(nullptr), ExceptionHandler(nullptr), in FrameInfo() 50 Function(nullptr), PrologEnd(nullptr), Symbol(nullptr), in FrameInfo() 52 ChainedParent(nullptr), Instructions() {} in FrameInfo() 54 : Begin(BeginFuncEHLabel), End(nullptr), ExceptionHandler(nullptr), in FrameInfo() 55 Function(Function), PrologEnd(nullptr), Symbol(nullptr), in FrameInfo() 57 ChainedParent(nullptr), Instructions() {} in FrameInfo() 60 : Begin(BeginFuncEHLabel), End(nullptr), ExceptionHandler(nullptr), in FrameInfo() 61 Function(Function), PrologEnd(nullptr), Symbol(nullptr), in FrameInfo()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXTargetObjectFile.h | 25 TextSection = nullptr; in NVPTXTargetObjectFile() 26 DataSection = nullptr; in NVPTXTargetObjectFile() 27 BSSSection = nullptr; in NVPTXTargetObjectFile() 28 ReadOnlySection = nullptr; in NVPTXTargetObjectFile() 30 StaticCtorSection = nullptr; in NVPTXTargetObjectFile() 31 StaticDtorSection = nullptr; in NVPTXTargetObjectFile() 32 LSDASection = nullptr; in NVPTXTargetObjectFile() 33 EHFrameSection = nullptr; in NVPTXTargetObjectFile() 34 DwarfAbbrevSection = nullptr; in NVPTXTargetObjectFile() 35 DwarfInfoSection = nullptr; in NVPTXTargetObjectFile() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | Module.cpp | 24 : Kind(Kind), File(nullptr), Signature(0), DirectlyImported(false), in ModuleFile() 27 SLocEntryBaseOffset(0), SLocEntryOffsets(nullptr), in ModuleFile() 29 IdentifierOffsets(nullptr), BaseIdentifierID(0), in ModuleFile() 30 IdentifierTableData(nullptr), IdentifierLookupTable(nullptr), in ModuleFile() 31 LocalNumMacros(0), MacroOffsets(nullptr), in ModuleFile() 33 PreprocessedEntityOffsets(nullptr), NumPreprocessedEntities(0), in ModuleFile() 35 HeaderFileInfoTableData(nullptr), HeaderFileInfoTable(nullptr), in ModuleFile() 37 LocalNumSelectors(0), SelectorOffsets(nullptr), BaseSelectorID(0), in ModuleFile() 38 SelectorLookupTableData(nullptr), SelectorLookupTable(nullptr), in ModuleFile() 39 LocalNumDecls(0), DeclOffsets(nullptr), BaseDeclID(0), in ModuleFile() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ARCRuntimeEntryPoints.h | 46 ARCRuntimeEntryPoints() : TheModule(nullptr), in ARCRuntimeEntryPoints() 47 AutoreleaseRV(nullptr), in ARCRuntimeEntryPoints() 48 Release(nullptr), in ARCRuntimeEntryPoints() 49 Retain(nullptr), in ARCRuntimeEntryPoints() 50 RetainBlock(nullptr), in ARCRuntimeEntryPoints() 51 Autorelease(nullptr), in ARCRuntimeEntryPoints() 52 StoreStrong(nullptr), in ARCRuntimeEntryPoints() 53 RetainRV(nullptr), in ARCRuntimeEntryPoints() 54 RetainAutorelease(nullptr), in ARCRuntimeEntryPoints() 55 RetainAutoreleaseRV(nullptr) { } in ARCRuntimeEntryPoints() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| H A D | Local.h | 60 const TargetLibraryInfo *TLI = nullptr); 70 const TargetLibraryInfo *TLI = nullptr); 77 const TargetLibraryInfo *TLI = nullptr); 85 const TargetLibraryInfo *TLI = nullptr); 92 bool SimplifyInstructionsInBlock(BasicBlock *BB, const DataLayout *TD = nullptr, 93 const TargetLibraryInfo *TLI = nullptr); 111 DataLayout *TD = nullptr); 118 void MergeBasicBlockIntoOnlyPred(BasicBlock *BB, Pass *P = nullptr); 141 unsigned BonusInstThreshold, const DataLayout *TD = nullptr, 142 AssumptionCache *AC = nullptr); [all …]
|
| H A D | Cloning.h | 100 const Twine &NameSuffix = "", Function *F = nullptr, 101 ClonedCodeInfo *CodeInfo = nullptr); 118 ClonedCodeInfo *CodeInfo = nullptr); 134 ClonedCodeInfo *CodeInfo = nullptr, 135 ValueMapTypeRemapper *TypeMapper = nullptr, 136 ValueMaterializer *Materializer = nullptr); 154 ClonedCodeInfo *CodeInfo = nullptr, 155 const DataLayout *DL = nullptr, 156 Instruction *TheCall = nullptr); 162 explicit InlineFunctionInfo(CallGraph *cg = nullptr, [all …]
|
| H A D | ValueMapper.h | 71 ValueMapTypeRemapper *TypeMapper = nullptr, 72 ValueMaterializer *Materializer = nullptr); 76 ValueMapTypeRemapper *TypeMapper = nullptr, 77 ValueMaterializer *Materializer = nullptr); 82 ValueMapTypeRemapper *TypeMapper = nullptr, 83 ValueMaterializer *Materializer = nullptr); 87 ValueMapTypeRemapper *TypeMapper = nullptr, 88 ValueMaterializer *Materializer = nullptr); 93 ValueMapTypeRemapper *TypeMapper = nullptr, 94 ValueMaterializer *Materializer = nullptr) {
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/Support/ |
| H A D | MemoryTest.cpp | 61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC); in TEST_P() 64 EXPECT_NE((void*)nullptr, M1.base()); in TEST_P() 72 MemoryBlock M1 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); in TEST_P() 74 MemoryBlock M2 = Memory::allocateMappedMemory(64, nullptr, Flags, EC); in TEST_P() 76 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC); in TEST_P() 79 EXPECT_NE((void*)nullptr, M1.base()); in TEST_P() 81 EXPECT_NE((void*)nullptr, M2.base()); in TEST_P() 83 EXPECT_NE((void*)nullptr, M3.base()); in TEST_P() 92 MemoryBlock M4 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); in TEST_P() 94 EXPECT_NE((void*)nullptr, M4.base()); in TEST_P() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | InterferenceCache.h | 81 : VirtTag(LIU.getTag()), Fixed(nullptr) { in RegUnitInfo() 97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {} in Entry() 153 : TRI(nullptr), LIUArray(nullptr), MF(nullptr), PhysRegEntries(nullptr), in InterferenceCache() 177 Current = nullptr; in setEntry() 189 Cursor() : CacheEntry(nullptr), Current(nullptr) {} in Cursor() 190 ~Cursor() { setEntry(nullptr); } in ~Cursor() 192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) { in Cursor() 205 setEntry(nullptr); in setPhysReg()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/language.support/support.exception/propagation/ |
| H A D | exception_ptr.pass.cpp | 22 assert(p == nullptr); in main() 24 assert(nullptr == p); in main() 29 assert(p2 == nullptr); in main() 30 std::exception_ptr p3 = nullptr; in main() 31 assert(p3 == nullptr); in main() 32 p3 = nullptr; in main() 33 assert(p3 == nullptr); in main()
|
| /minix3/external/bsd/libc++/dist/libcxx/test/language.support/support.exception/propagation/ |
| H A D | exception_ptr.pass.cpp | 22 assert(p == nullptr); in main() 24 assert(nullptr == p); in main() 29 assert(p2 == nullptr); in main() 30 std::exception_ptr p3 = nullptr; in main() 31 assert(p3 == nullptr); in main() 32 p3 = nullptr; in main() 33 assert(p3 == nullptr); in main()
|