/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | SmallVector.cpp | 26 static_assert(sizeof(SmallVector<void *, 0>) == 29 static_assert(alignof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 31 static_assert(alignof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 33 static_assert(sizeof(SmallVector<Struct16B, 0>) >= alignof(Struct16B), 35 static_assert(sizeof(SmallVector<Struct32B, 0>) >= alignof(Struct32B), 37 static_assert(sizeof(SmallVector<void *, 1>) == 41 static_assert(sizeof(SmallVector<char, 0>) == 91 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint64_t), 94 static_assert(sizeof(SmallVectorSizeType<char>) == sizeof(uint32_t),
|
H A D | ThreadLocal.cpp | 29 static_assert(sizeof(d) <= sizeof(data), "size too big");
|
/freebsd-13-stable/usr.bin/dtc/ |
H A D | util.hh | 45 #ifndef static_assert 46 #define static_assert(x, y) ((void)0) macro 100 static_assert(sizeof(T) > 1,
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_fdr_log_records.h | 46 static_assert(sizeof(MetadataRecord) == 16, "Wrong size for MetadataRecord."); 71 static_assert(sizeof(FunctionRecord) == 8, "Wrong size for FunctionRecord.");
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | AMDHSAKernelDescriptor.h | 165 static_assert( 168 static_assert( 171 static_assert( 174 static_assert( 177 static_assert( 180 static_assert( 183 static_assert( 186 static_assert( 189 static_assert( 192 static_assert( [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/include/xray/ |
H A D | xray_records.h | 33 static_assert(sizeof(FdrAdditionalHeaderData) == 16, 65 static_assert(sizeof(XRayFileHeader) == 32, "XRayFileHeader != 32 bytes"); 104 static_assert(sizeof(XRayRecord) == 32, "XRayRecord != 32 bytes"); 130 static_assert(sizeof(XRayArgPayload) == 32, "XRayArgPayload != 32 bytes");
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_utils.h | 24 static_assert(sizeof(Dest) == sizeof(Source), "Sizes are not equal!");
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AllDiagnostics.h | 32 static_assert(SizeOfStr <= FieldType(~0U), "Field too small!");
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | iterator.h | 96 static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value, 98 static_assert( 106 static_assert( 112 static_assert( 121 static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value, 131 static_assert( 137 static_assert( 150 static_assert( 157 static_assert( 163 static_assert( [all...] |
H A D | Bitfields.h | 100 static_assert(sizeof(Unsigned) == sizeof(T), "Types must have same size"); 103 static_assert(TypeBits >= Bits, "n-bit must fit in T"); 122 static_assert(std::is_unsigned<T>::value, "T is unsigned"); 135 static_assert(std::is_signed<T>::value, "T is signed"); 157 static_assert(std::is_unsigned<StorageType>::value, 164 static_assert(Bitfield::FirstBit <= StorageBits, "Data must fit in mask"); 165 static_assert(Bitfield::LastBit <= StorageBits, "Data must fit in mask"); 221 ? T(0) // coupled with static_assert below 236 static_assert(Bits > 0, "Bits must be non zero"); 238 static_assert(Bit [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | Minidump.h | 46 static_assert(sizeof(Header) == 32, ""); 63 static_assert(sizeof(LocationDescriptor) == 8, ""); 71 static_assert(sizeof(MemoryDescriptor) == 16, ""); 84 static_assert(sizeof(MemoryInfoListHeader) == 16, ""); 115 static_assert(sizeof(MemoryInfo) == 48, ""); 124 static_assert(sizeof(Directory) == 12, ""); 157 static_assert(sizeof(CPUInfo) == 24, ""); 180 static_assert(sizeof(SystemInfo) == 56, ""); 197 static_assert(sizeof(VSFixedFileInfo) == 52, ""); 215 static_assert(sizeo [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | ThreadLocal.inc | 24 static_assert(sizeof(DWORD) <= sizeof(data), "size too big");
|
/freebsd-13-stable/include/ |
H A D | assert.h | 64 * Static assertions. In principle we could define static_assert for 73 #define static_assert _Static_assert macro
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | atomic_helpers.h | 24 static_assert(memory_order_relaxed == __ATOMIC_RELAXED, ""); 25 static_assert(memory_order_consume == __ATOMIC_CONSUME, ""); 26 static_assert(memory_order_acquire == __ATOMIC_ACQUIRE, ""); 27 static_assert(memory_order_release == __ATOMIC_RELEASE, ""); 28 static_assert(memory_order_acq_rel == __ATOMIC_ACQ_REL, ""); 29 static_assert(memory_order_seq_cst == __ATOMIC_SEQ_CST, "");
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | MinidumpTypes.h | 55 static_assert(sizeof(CvRecordPdb70) == 20, 84 static_assert(sizeof(MinidumpMemoryDescriptor64) == 16, 103 static_assert(sizeof(MinidumpMiscInfo) == 24,
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | SelectorExtras.h | 19 static_assert(sizeof...(IdentifierInfos),
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RefactoringOption.h | 55 static_assert(std::is_base_of<RefactoringOption, OptionType>::value,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | ThreadLocal.inc | 30 static_assert(sizeof(pthread_key_t) <= sizeof(data), "size too big");
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVRegisterInfo.cpp | 30 static_assert(RISCV::X1 == RISCV::X0 + 1, "Register list not consecutive"); 31 static_assert(RISCV::X31 == RISCV::X0 + 31, "Register list not consecutive"); 32 static_assert(RISCV::F1_F == RISCV::F0_F + 1, "Register list not consecutive"); 33 static_assert(RISCV::F31_F == RISCV::F0_F + 31, 35 static_assert(RISCV::F1_D == RISCV::F0_D + 1, "Register list not consecutive"); 36 static_assert(RISCV::F31_D == RISCV::F0_D + 31, 38 static_assert(RISCV::V1 == RISCV::V0 + 1, "Register list not consecutive"); 39 static_assert(RISCV::V31 == RISCV::V0 + 31, "Register list not consecutive");
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | PdbSymUid.cpp | 55 static_assert(sizeof(CompilandIdRepr) == 8, "Invalid structure size!"); 56 static_assert(sizeof(CompilandSymIdRepr) == 8, "Invalid structure size!"); 57 static_assert(sizeof(GlobalSymIdRepr) == 8, "Invalid structure size!"); 58 static_assert(sizeof(TypeSymIdRepr) == 8, "Invalid structure size!"); 59 static_assert(sizeof(FieldListMemberIdRepr) == 8, "Invalid structure size!");
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/include/fuzzer/ |
H A D | FuzzedDataProvider.h | 133 static_assert(sizeof(std::string::value_type) == sizeof(uint8_t), 201 static_assert(std::is_integral<T>::value, "An integral type is required."); 202 static_assert(sizeof(T) <= sizeof(uint64_t), "Unsupported integral type."); 269 static_assert(std::is_floating_point<T>::value, 292 static_assert(std::is_enum<T>::value, "|T| must be an enum type."); 300 static_assert(size > 0, "The array must be non empty."); 306 // TODO(Dor1s): switch to static_assert once C++14 is allowed. 343 static_assert(sizeof(T) == sizeof(uint8_t), "Incompatible data type."); 369 static_assert(sizeof(TS) == sizeof(TU), "Incompatible data types."); 370 static_assert(!st [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextLinux_mips.cpp | 44 static_assert((sizeof(g_gp_regnums_mips) / sizeof(g_gp_regnums_mips[0])) - 1 == 61 static_assert((sizeof(g_fp_regnums_mips) / sizeof(g_fp_regnums_mips[0])) - 1 == 80 static_assert((sizeof(g_msa_regnums_mips) / sizeof(g_msa_regnums_mips[0])) -
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | ThreadElfCore.h | 67 static_assert(sizeof(ELFLinuxPrStatus) == 112, 88 static_assert(sizeof(ELFLinuxSigInfo) == 12, 123 static_assert(sizeof(ELFLinuxPrPsInfo) == 136,
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | GSIStreamBuilder.h | 126 static_assert(IPHR_HASH <= 1 << 12, "bitfield too small"); 141 static_assert(sizeof(BulkPublic) <= 24, "unexpected size increase"); 142 static_assert(std::is_trivially_copyable<BulkPublic>::value,
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
H A D | backtrace_linux_libc.cpp | 21 static_assert(sizeof(uintptr_t) == sizeof(void *), "uintptr_t is not void*");
|