reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

usr/include/c++/7.4.0/type_traits
   71       static constexpr _Tp                  value = __v;

References

include/llvm/ADT/APFloat.h
  693   static_assert(std::is_standard_layout<IEEEFloat>::value, "");
  785     static_assert(std::is_same<T, IEEEFloat>::value ||
  786                   std::is_same<T, DoubleAPFloat>::value, "");
  787     if (std::is_same<T, DoubleAPFloat>::value) {
include/llvm/ADT/AllocatorList.h
  114                      OtherIteratorBase, IteratorBase>::value>::type * = nullptr)
include/llvm/ADT/ArrayRef.h
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  120           std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  129                  std::is_convertible<U *const *, T const *>::value>::type* = 0)
  249     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
  257     typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
include/llvm/ADT/DenseMap.h
  122     if (is_trivially_copyable<KeyT>::value &&
  123         is_trivially_copyable<ValueT>::value) {
  399     if (is_trivially_copyable<KeyT>::value &&
  400         is_trivially_copyable<ValueT>::value)
  424     static_assert(std::is_base_of<DenseMapBase, DerivedT>::value,
include/llvm/ADT/FunctionExtras.h
  257     if (llvm::is_trivially_move_constructible<CallableT>::value &&
  258         std::is_trivially_destructible<CallableT>::value) {
include/llvm/ADT/Hashing.h
  363 typename std::enable_if<is_hashable_data<T>::value, T>::type
  371 typename std::enable_if<!is_hashable_data<T>::value, size_t>::type
  445 typename std::enable_if<is_hashable_data<ValueT>::value, hash_code>::type
include/llvm/ADT/ImmutableList.h
   69   static_assert(std::is_trivially_destructible<T>::value,
include/llvm/ADT/MapVector.h
   42       std::is_integral<typename MapType::mapped_type>::value,
  111     static_assert(std::is_copy_constructible<ValueT>::value,
include/llvm/ADT/PointerEmbeddedInt.h
   64     assert((std::is_signed<IntT>::value ? isInt<Bits>(I) : isUInt<Bits>(I)) &&
   73     if (std::is_signed<IntT>::value)
include/llvm/ADT/PointerIntPair.h
  137   static_assert(std::is_trivially_copyable<PointerIntPair<PointerTy, IntBits, IntType, PtrTraits, Info>>::value,
include/llvm/ADT/PointerSumType.h
  237   enum { NumTagBits = Min<MemberTs::TraitsT::NumLowBitsAvailable...>::value };
  241       static_cast<TagT>(Min<MemberTs::Tag...>::value);
  258   static_assert(Checker<MemberTs...>::value,
include/llvm/ADT/PriorityWorklist.h
  113   typename std::enable_if<!std::is_convertible<SequenceT, T>::value>::type
include/llvm/ADT/STLExtras.h
  125                                  function_ref>::value>::type * = nullptr)
  401       typename std::iterator_traits<IterT>::iterator_category>::value>::type;
 1002       std::is_same<T, U>::value || is_one_of<T, Ts...>::value;
 1014       std::is_base_of<T, U>::value && are_base_of<T, Ts...>::value;
 1149                                       std::random_access_iterator_tag>::value,
 1521         std::tuple_size<typename std::decay<Tuple>::type>::value>{})) {
 1523       std::tuple_size<typename std::decay<Tuple>::type>::value>;
 1538             std::random_access_iterator_tag>::value,
 1555             std::random_access_iterator_tag>::value,
include/llvm/ADT/SmallVector.h
  288                                            T2>::value>::type * = nullptr) {
include/llvm/ADT/StringRef.h
  258     typename std::enable_if<std::is_same<T, std::string>::value,
include/llvm/ADT/ilist_node.h
  151   static_assert(ilist_detail::check_options<Options...>::value,
include/llvm/ADT/ilist_node_options.h
  122   typedef node_options<T, extract_sentinel_tracking<Options...>::value,
include/llvm/ADT/iterator.h
   73                                      IteratorCategoryT>::value,
   75                                       IteratorCategoryT>::value,
   96     static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value,
  121     static_assert(std::is_base_of<iterator_facade_base, DerivedT>::value,
  216     static_assert(std::is_base_of<iterator_adaptor_base, DerivedT>::value,
include/llvm/ADT/simple_ilist.h
   82   static_assert(ilist_detail::check_options<Options...>::value,
include/llvm/Analysis/PtrUseVisitor.h
  214     static_assert(std::is_base_of<PtrUseVisitor, DerivedT>::value,
include/llvm/Analysis/RegionIterator.h
   56   static_assert(std::is_pointer<NodeRef>::value,
include/llvm/CodeGen/AccelTable.h
  304   static_assert(std::is_convertible<DataT *, AppleAccelTableData *>::value, "");
include/llvm/CodeGen/DIE.h
  382     static_assert(std::is_standard_layout<T>::value ||
  383                       std::is_pointer<T>::value,
include/llvm/CodeGen/MachineInstrBundleIterator.h
  155       typename std::enable_if<std::is_convertible<OtherTy *, Ty *>::value,
include/llvm/Demangle/ItaniumDemangle.h
 2213   static_assert(std::is_pod<T>::value,
include/llvm/ExecutionEngine/JITSymbol.h
   45   static_assert(std::is_pointer<T>::value, "T must be a pointer type");
include/llvm/ExecutionEngine/Orc/RPCUtils.h
  528       std::is_void<typename HandlerTraits<HandlerT>::ReturnType>::value,
  537       !std::is_void<typename HandlerTraits<HandlerT>::ReturnType>::value,
  881   static_assert(std::tuple_size<T1Tuple>::value >=
  882                     std::tuple_size<T2Tuple>::value,
  884   static_assert(std::tuple_size<T1Tuple>::value <=
  885                     std::tuple_size<T2Tuple>::value,
  901                      Error>::value,
  907   static const bool value = decltype(check<S>(0))::value;
  920                      Error>::value,
  926   static const bool value = decltype(check<S>(0))::value;
 1652     static const bool value = std::is_same<F, Func>::value |
include/llvm/IR/DiagnosticInfo.h
  535                std::is_base_of<DiagnosticInfoOptimizationBase, RemarkT>::value,
  547                std::is_base_of<DiagnosticInfoOptimizationBase, RemarkT>::value,
  557                std::is_base_of<DiagnosticInfoOptimizationBase, RemarkT>::value,
  567                std::is_base_of<DiagnosticInfoOptimizationBase, RemarkT>::value,
  577                std::is_base_of<DiagnosticInfoOptimizationBase, RemarkT>::value,
  587                std::is_base_of<DiagnosticInfoOptimizationBase, RemarkT>::value,
  597                std::is_base_of<DiagnosticInfoOptimizationBase, RemarkT>::value,
include/llvm/IR/InstVisitor.h
  118     static_assert(std::is_base_of<InstVisitor, SubClass>::value,
include/llvm/IR/Metadata.h
  514   static const bool value = std::is_base_of<Constant, V>::value &&
  518   static const bool value = std::is_base_of<Constant, V>::value &&
  519                             std::is_convertible<M, const Metadata &>::value;
  970   static typename std::enable_if<std::is_base_of<MDNode, T>::value, T *>::type
  982   static typename std::enable_if<std::is_base_of<MDNode, T>::value, T *>::type
  992   static typename std::enable_if<std::is_base_of<MDNode, T>::value, T *>::type
 1231       typename std::enable_if<std::is_convertible<U *, T *>::value>::type * =
 1238       typename std::enable_if<!std::is_convertible<U *, T *>::value>::type * =
include/llvm/IR/OperandTraits.h
   33         !std::is_polymorphic<SubClass>::value,
   71         !std::is_polymorphic<SubClass>::value,
include/llvm/IR/PassManager.h
  376     static_assert(std::is_base_of<PassInfoMixin, DerivedT>::value,
  407     static_assert(std::is_base_of<AnalysisInfoMixin, DerivedT>::value,
include/llvm/IR/Type.h
  428     if (std::is_integral<ScalarTy>::value) {
  430     } else if (std::is_floating_point<ScalarTy>::value) {
include/llvm/Support/Alignment.h
  103     return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h
   88       !std::is_same<typename std::remove_cv<T>::type, void>::value, void>::type
include/llvm/Support/BinaryStreamReader.h
   76     static_assert(std::is_integral<T>::value,
   90     static_assert(std::is_enum<T>::value,
include/llvm/Support/BinaryStreamWriter.h
   65     static_assert(std::is_integral<T>::value,
   75     static_assert(std::is_enum<T>::value,
  136     static_assert(!std::is_pointer<T>::value,
include/llvm/Support/Casting.h
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
include/llvm/Support/CheckedArithmetic.h
   28 typename std::enable_if<std::is_integral<T>::value && sizeof(T) * 8 <= 64,
   47 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type
   56 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type
   65 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type
   74 typename std::enable_if<std::is_signed<T>::value, llvm::Optional<T>>::type
   85 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
   94 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
  103 typename std::enable_if<std::is_unsigned<T>::value, llvm::Optional<T>>::type
include/llvm/Support/Chrono.h
  116       std::chrono::treat_as_floating_point<Rep>::value, double, intmax_t>::type
include/llvm/Support/CommandLine.h
  565     : OptionValueBase<DataType, std::is_class<DataType>::value> {
 1333                                std::is_class<DataType>::value> {
include/llvm/Support/Error.h
  437   static const bool isRef = std::is_reference<T>::value;
  475            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  493            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
include/llvm/Support/ErrorOr.h
   59   static const bool isRef = std::is_reference<T>::value;
   75           typename std::enable_if<std::is_error_code_enum<E>::value ||
   76                                       std::is_error_condition_enum<E>::value,
   88           typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  101       typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * =
  110           !std::is_convertible<OtherT, const T &>::value>::type * = nullptr) {
  121       typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * =
  131       typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * =
  269 typename std::enable_if<std::is_error_code_enum<E>::value ||
  270                             std::is_error_condition_enum<E>::value,
include/llvm/Support/Format.h
   83   static_assert(std::is_scalar<Arg>::value,
include/llvm/Support/FormatProviders.h
  396   static_assert(detail::range_item_has_provider<IterT>::value,
include/llvm/Support/FormatVariadic.h
  156       : formatv_object_base(Fmt, std::tuple_size<Tuple>::value),
include/llvm/Support/FormatVariadicDetails.h
   84                                 llvm::raw_ostream &>::value,
  130 typename std::enable_if<uses_format_member<T>::value, T>::type
  136 typename std::enable_if<uses_format_provider<T>::value,
  143 typename std::enable_if<uses_stream_operator<T>::value,
  150       !std::is_same<llvm::Error, typename std::remove_cv<T>::type>::value,
include/llvm/Support/GenericDomTree.h
  221   static_assert(std::is_pointer<typename GraphTraits<NodeT *>::NodeRef>::value,
  226   static_assert(std::is_pointer<ParentPtr>::value,
include/llvm/Support/GraphWriter.h
   77   static_assert(std::is_pointer<NodeRef>::value,
include/llvm/Support/MathExtras.h
  249   static_assert(std::is_unsigned<T>::value, "Invalid type!");
  778 typename std::enable_if<std::is_unsigned<T>::value, T>::type
  787 typename std::enable_if<std::is_unsigned<T>::value, T>::type
  804 typename std::enable_if<std::is_unsigned<T>::value, T>::type
  850 typename std::enable_if<std::is_unsigned<T>::value, T>::type
  869 typename std::enable_if<std::is_signed<T>::value, T>::type
  896 typename std::enable_if<std::is_signed<T>::value, T>::type
  924 typename std::enable_if<std::is_signed<T>::value, T>::type
include/llvm/Support/Parallel.h
  177   static_assert(is_execution_policy<Policy>::value,
  184   static_assert(is_execution_policy<Policy>::value,
  191   static_assert(is_execution_policy<Policy>::value,
include/llvm/Support/PointerLikeTypeTraits.h
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
include/llvm/Support/SwapByteOrder.h
  146 inline typename std::enable_if<std::is_enum<T>::value, T>::type
include/llvm/Support/TrailingObjects.h
  330       std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
  342       std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
include/llvm/Support/YAMLTraits.h
  871   typename std::enable_if<has_SequenceTraits<T>::value, void>::type
  886   typename std::enable_if<!has_SequenceTraits<T>::value, void>::type
  894     static_assert(std::is_convertible<DefaultT, T>::value,
 1052 typename std::enable_if<validatedMappingTraits<T, Context>::value, void>::type
 1078 typename std::enable_if<unvalidatedMappingTraits<T, Context>::value, void>::type
 1121 typename std::enable_if<missingTraits<T, EmptyContext>::value, void>::type
 1127 typename std::enable_if<has_SequenceTraits<T>::value, void>::type
 1721 typename std::enable_if<has_SequenceTraits<T>::value, Input &>::type
 1807 typename std::enable_if<has_SequenceTraits<T>::value, Output &>::type
 1869 inline typename std::enable_if<missingTraits<T, EmptyContext>::value,
include/llvm/Support/type_traits.h
   35       !std::is_class<UnderlyingT>::value && // Filter conversion operators.
   36       !std::is_pointer<UnderlyingT>::value &&
   37       !std::is_floating_point<UnderlyingT>::value &&
   38       (std::is_enum<UnderlyingT>::value ||
   39        std::is_convertible<UnderlyingT, unsigned long long>::value);
  124     static constexpr bool value = decltype(get((T*)nullptr))::value;
  132     static constexpr bool value = decltype(get((T*)nullptr))::value;
  145       std::is_copy_constructible<detail::trivial_helper<T>>::value;
  147       !std::is_copy_constructible<T>::value;
  151       std::is_move_constructible<detail::trivial_helper<T>>::value;
  153       !std::is_move_constructible<T>::value;
  169       std::is_destructible<detail::trivial_helper<T>>::value;
  181   static_assert(value == std::is_trivially_copyable<T>::value,
include/llvm/Transforms/IPO/Attributor.h
  783     static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
  954     static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
lib/Demangle/ItaniumDemangle.cpp
  119   typename std::enable_if<std::is_unsigned<T>::value>::type print(T N) {
  124   typename std::enable_if<std::is_signed<T>::value>::type print(T N) {
lib/MC/MCSchedule.cpp
   22 static_assert(std::is_pod<MCSchedModel>::value,
lib/Support/ItaniumManglingCanonicalizer.cpp
   34   typename std::enable_if<std::is_integral<T>::value ||
   35                           std::is_enum<T>::value>::type
  112     if (std::is_same<T, ForwardTemplateReference>::value) {
lib/Support/NativeFormatting.cpp
   53   static_assert(std::is_unsigned<T>::value, "Value is not unsigned!");
   90   static_assert(std::is_signed<T>::value, "Value is not signed!");
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  856         std::is_same<int8_t, typename std::make_signed<T>::type>::value;
  874         std::is_same<int8_t, typename std::make_signed<T>::type>::value;
lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
  766   if (std::is_same<int8_t, typename std::make_signed<T>::type>::value)
  769   if (std::is_same<int16_t, typename std::make_signed<T>::type>::value)
  779       std::is_same<int8_t, typename std::make_signed<T>::type>::value;
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
  408   if (!std::is_same<decltype(*Schedule.begin()), MachineInstr*>::value) {
lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
  116   if (std::is_floating_point<T>::value) {
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h
   61       AggregateSizesImpl<Tuple, std::tuple_size<Tuple>::value - 1>::value;
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp
   73 static_assert(std::is_trivially_destructible<ThreadLocalData>::value,
tools/clang/include/clang/AST/ASTContext.h
 2770     if (!std::is_trivially_destructible<T>::value) {
tools/clang/include/clang/AST/ASTVector.h
   76     if (std::is_class<T>::value) {
  146     if (std::is_class<T>::value) {
  392     if (std::is_class<T>::value) {
tools/clang/include/clang/AST/CanonicalType.h
   77           typename std::enable_if<std::is_base_of<T, U>::value, int>::type = 0);
  652   static_assert(!TypeIsArrayType<T>::value,
  667   static_assert(!TypeIsArrayType<U>::value,
tools/clang/include/clang/AST/DataCollection.h
   54     std::is_integral<Type>::value || std::is_enum<Type>::value ||
   54     std::is_integral<Type>::value || std::is_enum<Type>::value ||
   55     std::is_convertible<Type, size_t>::value // for llvm::hash_code
tools/clang/include/clang/AST/Expr.h
  956   static_assert(std::is_same<uint64_t, llvm::APInt::WordType>::value,
tools/clang/include/clang/AST/RecursiveASTVisitor.h
  558       BINOP_LIST()
  566       CAO_LIST()
  576       UNARYOP_LIST()
 2156   TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getAsmString());
 2158     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getInputConstraintLiteral(I));
 2161     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getOutputConstraintLiteral(I));
 2164     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getClobberStringLiteral(I));
 2219       TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getInit());
 2220     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getLoopVarStmt());
 2221     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getRangeInit());
 2222     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getBody());
 2316       TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(SubStmt);
 2357     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(Assoc.getAssociationExpr());
 2365   TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getSyntacticForm());
 2372     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(sub);
 2433                   { TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getQueriedExpression()); })
 2480       TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(NE);
 2482     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getBody());
 2549     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(OVE->getSourceExpr());
 2644     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getBody());
 2650     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getOperand());
 2656     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getOperand());
 2662     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getOperand());
 2668     TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(S->getOperand());
tools/clang/include/clang/AST/Type.h
 6859   static_assert(!TypeIsArrayType<T>::value,
 6876   static_assert(!TypeIsArrayType<T>::value, "ArrayType cannot be used with getAsAdjusted!");
 6924   static_assert(!TypeIsArrayType<T>::value,
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  507           typename std::enable_if<std::is_base_of<From, T>::value &&
  508                                !std::is_same<From, T>::value>::type * = nullptr)
  520             std::is_same<T, QualType>::value &&
  521             std::is_same<TypeT, Type>::value>::type* = nullptr)
  529     static_assert(std::is_base_of<To, T>::value, "Invalid dynCast call.");
  669   static_assert(std::is_same<T, CXXOperatorCallExpr>::value ||
  670                 std::is_base_of<FunctionDecl, T>::value,
  672   static_assert(std::is_same<ArgT, StringRef>::value,
  752   static_assert(std::is_same<DeclMatcherT, Matcher<Decl>>::value,
  922       std::is_same<T, Decl>::value ||
  923       std::is_same<T, Stmt>::value ||
  924       std::is_same<T, QualType>::value ||
  925       std::is_same<T, Type>::value ||
  926       std::is_same<T, TypeLoc>::value ||
  927       std::is_same<T, NestedNameSpecifier>::value ||
  928       std::is_same<T, NestedNameSpecifierLoc>::value ||
  929       std::is_same<T, CXXCtorInitializer>::value;
  997     static_assert(std::is_base_of<Decl, T>::value ||
  998                   std::is_base_of<Stmt, T>::value ||
  999                   std::is_base_of<NestedNameSpecifier, T>::value ||
 1000                   std::is_base_of<NestedNameSpecifierLoc, T>::value ||
 1001                   std::is_base_of<TypeLoc, T>::value ||
 1002                   std::is_base_of<QualType, T>::value,
 1013     static_assert(std::is_base_of<Decl, T>::value ||
 1014                   std::is_base_of<Stmt, T>::value ||
 1015                   std::is_base_of<NestedNameSpecifier, T>::value ||
 1016                   std::is_base_of<NestedNameSpecifierLoc, T>::value ||
 1017                   std::is_base_of<TypeLoc, T>::value ||
 1018                   std::is_base_of<QualType, T>::value,
 1030     static_assert(std::is_base_of<Decl, T>::value ||
 1031                       std::is_base_of<NestedNameSpecifierLoc, T>::value ||
 1032                       std::is_base_of<Stmt, T>::value ||
 1033                       std::is_base_of<TypeLoc, T>::value,
 1084       std::is_base_of<typename AnyTypeList::head, T>::value ||
 1500   static_assert(std::is_base_of<CharacterLiteral, T>::value ||
 1501                 std::is_base_of<CXXBoolLiteralExpr, T>::value ||
 1502                 std::is_base_of<FloatingLiteral, T>::value ||
 1503                 std::is_base_of<IntegerLiteral, T>::value,
tools/clang/include/clang/Analysis/Support/BumpVector.h
   71     if (std::is_class<T>::value) {
  237     if (std::is_class<T>::value) {
tools/clang/include/clang/Basic/Diagnostic.h
 1211 typename std::enable_if<std::is_same<T, bool>::value,
 1243     std::is_same<typename std::remove_const<T>::type, DeclContext>::value,
tools/clang/include/clang/Basic/PartialDiagnostic.h
  384   typename std::enable_if<std::is_same<T, DeclContext>::value,
tools/clang/include/clang/Sema/Overload.h
  987       static_assert(std::is_trivial<T>::value ||
  988                         std::is_same<ImplicitConversionSequence, T>::value,
tools/clang/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h
  119   static_assert(std::is_base_of<RefactoringActionRuleBase, RuleType>::value,
  122                                     RequirementTypes...>::value,
  139                                  RequirementTypes...>::value;
tools/clang/include/clang/Tooling/Refactoring/RefactoringOption.h
   55   static_assert(std::is_base_of<RefactoringOption, OptionType>::value,
tools/clang/lib/AST/Comment.cpp
   32 static_assert(std::is_trivially_destructible<DeclInfo>::value,
tools/clang/lib/AST/Decl.cpp
  188 std::enable_if<!std::is_base_of<RedeclarableTemplateDecl, T>::value, bool>::type
tools/clang/lib/AST/Interp/Boolean.h
   88   static typename std::enable_if<std::is_integral<T>::value, Boolean>::type
tools/clang/lib/AST/Interp/Integral.h
  159   static typename std::enable_if<std::is_integral<T>::value, Integral>::type
  209   static typename std::enable_if<std::is_signed<T>::value, bool>::type
  215   static typename std::enable_if<std::is_unsigned<T>::value, bool>::type
  222   static typename std::enable_if<std::is_signed<T>::value, bool>::type
  228   static typename std::enable_if<std::is_unsigned<T>::value, bool>::type
  235   static typename std::enable_if<std::is_signed<T>::value, bool>::type
  241   static typename std::enable_if<std::is_unsigned<T>::value, bool>::type
tools/clang/lib/AST/Interp/Source.h
   59   static typename std::enable_if<!std::is_pointer<T>::value, T>::type
   66   static typename std::enable_if<std::is_pointer<T>::value, T>::type
tools/clang/lib/Analysis/RetainSummaryManager.cpp
   35   return std::is_same<T, P>::value || isOneOf<T, ToCompare...>();
tools/clang/lib/CodeGen/CGOpenMPRuntime.h
   83                         RegionCodeGenTy>::value>::type * = nullptr)
tools/clang/lib/Lex/MacroArgs.cpp
   65     static_assert(std::is_trivial<Token>::value,
   97   static_assert(std::is_trivially_destructible<Token>::value,
tools/clang/lib/Sema/SemaDeclAttr.cpp
  228 static typename std::enable_if<std::is_base_of<Attr, AttrInfo>::value,
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
   55     typename std::conditional<std::is_const<CheckerOrPackageInfoList>::value,
tools/clang/tools/extra/clang-tidy/ClangTidyCheck.h
  136     typename std::enable_if<std::is_integral<T>::value, T>::type
  153     typename std::enable_if<std::is_integral<T>::value, T>::type
tools/clang/tools/extra/clangd/Context.h
   42   static_assert(!std::is_reference<Type>::value,
  162     static_assert(std::is_same<typename std::decay<T>::type, T>::value,
tools/clang/tools/extra/clangd/Function.h
   96   static_assert(std::is_same<typename std::decay<T>::type, T>::value,
tools/clang/unittests/Lex/HeaderMapTest.cpp
  189   static_assert(std::is_standard_layout<FileTy>::value,
  224   static_assert(std::is_standard_layout<FileTy>::value,
tools/clang/unittests/Tooling/ASTSelectionTest.cpp
  107           typename std::enable_if<std::is_base_of<Stmt, T>::value, T>::type
  118           typename std::enable_if<std::is_base_of<Decl, T>::value, T>::type
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  648       static_assert(std::is_base_of<Piece, T>::value, "must be piece");
tools/lld/include/lld/ReaderWriter/MachOLinkingContext.h
   99   typename std::enable_if<!std::is_array<T>::value, T *>::type
tools/lldb/include/lldb/DataFormatters/TypeCategory.h
   98     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
  104     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
  111     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
  117     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
  124     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
  130     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
  137     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
  143     typename std::enable_if<std::is_same<U, T>::value, ForEachCallbacks &>::type
tools/lldb/include/lldb/Symbol/PostfixExpression.h
  208   static_assert(std::is_trivially_destructible<T>::value,
tools/lldb/include/lldb/Utility/ReproducerInstrumentation.h
  245   typedef typename std::conditional<std::is_trivially_copyable<T>::value, ValueTag, NotImplementedTag>::type type;
  249       typename std::conditional<std::is_fundamental<T>::value,
  253   typedef typename std::conditional<std::is_fundamental<T>::value,
  287     if (std::is_fundamental<T>::value)
  296     if (std::is_fundamental<T>::value)
  564     if (std::is_fundamental<T>::value) {
  576     if (std::is_fundamental<T>::value) {
  652             typename std::remove_reference<Result>::type>::type>::value) {
tools/lldb/unittests/Utility/RangeTest.cpp
   20   static_assert(std::is_same<lldb::addr_t, decltype(r.GetRangeBase())>::value,
   22   static_assert(std::is_same<lldb::addr_t, decltype(r.GetRangeEnd())>::value,
   24   static_assert(std::is_same<uint32_t, decltype(r.GetByteSize())>::value,
tools/llvm-exegesis/lib/Target.cpp
  113 static_assert(std::is_pod<PfmCountersInfo>::value,
unittests/ADT/ArrayRefTest.cpp
   20     std::is_convertible<ArrayRef<int *>, ArrayRef<const int *>>::value,
   23     std::is_convertible<ArrayRef<int *>, ArrayRef<volatile int *>>::value,
   25 static_assert(!std::is_convertible<ArrayRef<int *>, ArrayRef<float *>>::value,
   28     !std::is_convertible<ArrayRef<const int *>, ArrayRef<int *>>::value,
   31     !std::is_convertible<ArrayRef<volatile int *>, ArrayRef<int *>>::value,
   37     !std::is_assignable<ArrayRef<int *>&, int *>::value,
   40     !std::is_assignable<ArrayRef<int *>&, int * &&>::value,
   43     std::is_assignable<ArrayRef<int *>&, int * &>::value,
   46     !std::is_assignable<ArrayRef<int *>&, std::initializer_list<int *>>::value,
unittests/ADT/DenseSetTest.cpp
   18                   DenseSet<int>::const_iterator::pointer>::type>::value,
   21                   DenseSet<int>::const_iterator::reference>::type>::value,
unittests/ADT/IListIteratorTest.cpp
  161   static_assert(!std::is_convertible<iterator, reverse_iterator>::value,
  163   static_assert(!std::is_convertible<reverse_iterator, iterator>::value,
  166       !std::is_convertible<const_iterator, const_reverse_iterator>::value,
  169       !std::is_convertible<const_reverse_iterator, const_iterator>::value,
unittests/ADT/IListNodeTest.cpp
   26                    compute_node_options<Node, ilist_tag<void>>::type>::value,
   30                     compute_node_options<Node, ilist_tag<void>>::type>::value,
   34                     compute_node_options<Node, ilist_tag<TagB>>::type>::value,
   40                                ilist_tag<void>>::type>::value,
   46                                ilist_sentinel_tracking<false>>::type>::value,
   52                                ilist_tag<void>>::type>::value,
   58                                ilist_sentinel_tracking<true>>::type>::value,
   65                                ilist_sentinel_tracking<true>>::type>::value,
unittests/ADT/IteratorTest.cpp
   29 static_assert(std::is_same<typename AdaptedIter::value_type, Shadow<0>>::value,
   32     std::is_same<typename AdaptedIter::difference_type, Shadow<1>>::value, "");
   33 static_assert(std::is_same<typename AdaptedIter::pointer, Shadow<2>>::value,
   35 static_assert(std::is_same<typename AdaptedIter::reference, Shadow<3>>::value,
   57                                         RandomAccessIter>::value, "");
   59                                         BidiIter>::value, "");
   62                                         RandomAccessIter>::value, "");
   64                                         BidiIter>::value, "");
unittests/ADT/PointerIntPairTest.cpp
   65   static_assert(is_trivially_copyable<PointerIntPair<S *, 2, E>>::value,
  105           PointerIntPair<Fixnum31, 1, bool, FixnumPointerTraits>>::value,
unittests/ADT/RangeAdapterTest.cpp
  162           decltype(static_cast<TypeParam *>(nullptr)->rbegin())>::value,
  167           decltype(static_cast<const TypeParam *>(nullptr)->rbegin())>::value,
unittests/ADT/StringRefTest.cpp
   38     !std::is_assignable<StringRef&, std::string>::value,
   41     !std::is_assignable<StringRef&, std::string &&>::value,
   44     std::is_assignable<StringRef&, std::string &>::value,
   47     std::is_assignable<StringRef&, const char *>::value,
   50     std::is_assignable<StringRef&, const char * &&>::value,
   53     std::is_assignable<StringRef&, const char * &>::value,
unittests/Analysis/CallGraphTest.cpp
   26   static_assert(std::is_same<decltype(*I), NodeRef>::value,
   28   static_assert(std::is_same<decltype(*X), NodeRef>::value,
   30   static_assert(std::is_same<decltype(*E), NodeRef>::value,
   39   static_assert(std::is_same<decltype(*S), NodeRef>::value,
   41   static_assert(std::is_same<decltype(*F), NodeRef>::value,
unittests/CodeGen/MachineInstrBundleIteratorTest.cpp
  184   static_assert(!std::is_convertible<iterator, reverse_iterator>::value,
  186   static_assert(!std::is_convertible<reverse_iterator, iterator>::value,
  189       !std::is_convertible<const_iterator, const_reverse_iterator>::value,
  192       !std::is_convertible<const_reverse_iterator, const_iterator>::value,
unittests/IR/DominatorTreeBatchUpdatesTest.cpp
   27     std::is_same<DomUpdate, PostDominatorTree::UpdateType>::value,
unittests/IR/PassBuilderCallbacksTest.cpp
   57       static_assert(std::is_base_of<MockAnalysisHandleBase, DerivedT>::value,
  132       static_assert(std::is_base_of<MockPassHandleBase, DerivedT>::value,
unittests/IR/ValueMapTest.cpp
  118   static_assert(std::is_same<ExpectedType, VarType>::value,
unittests/Support/Casting.cpp
   91 static_assert(std::is_same<simplify_type<Use>::SimpleType, Value *>::value,
   93 static_assert(std::is_same<simplify_type<Use *>::SimpleType, Value *>::value,
   97 static_assert(std::is_same<simplify_type<foo>::SimpleType, int>::value,
   99 static_assert(std::is_same<simplify_type<foo *>::SimpleType, foo *>::value,
  146   static_assert(std::is_same<std::unique_ptr<const foo>, decltype(FP)>::value,
unittests/Support/ErrorOrTest.cpp
  117                          ErrorOr<std::unique_ptr<int>>>::value,
  124                          ErrorOr<std::unique_ptr<int>>>::value,
  131                                   const ErrorOr<int *> &>::value,
  137                                   ErrorOr<int *> &&>::value,
unittests/Support/FormatVariadicTest.cpp
   26 static_assert(uses_format_member<Format>::value, "");
   27 static_assert(uses_format_member<Format &>::value, "");
   28 static_assert(uses_format_member<Format &&>::value, "");
   29 static_assert(uses_format_member<const Format>::value, "");
   30 static_assert(uses_format_member<const Format &>::value, "");
   31 static_assert(uses_format_member<const volatile Format>::value, "");
   32 static_assert(uses_format_member<const volatile Format &>::value, "");
   35 static_assert(uses_missing_provider<NoFormat>::value, "");
  521   Stream << formatv(Intro, std::tuple_size<Tuple>::value,
unittests/Support/ThreadLocalTest.cpp
   29       std::is_const<std::remove_pointer<decltype(x.get())>::type>::value,
   44       !std::is_const<std::remove_pointer<decltype(y.get())>::type>::value,
unittests/Support/TypeTraitsTest.cpp
   22   static_assert(llvm::is_trivially_copy_constructible<T>::value ==
   25   static_assert(llvm::is_trivially_move_constructible<T>::value ==
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
   50       static_assert(std::is_base_of<MockAnalysisHandleBase, DerivedT>::value,
  159       static_assert(std::is_base_of<MockPassHandleBase, DerivedT>::value,
usr/include/c++/7.4.0/bits/hashtable.h
  187 					    _Traits::__hash_cached::value>>>
  191       using __node_type = __detail::_Hash_node<_Value, __hash_cached::value>;
  224 					     __constant_iterators::value,
  279       static_assert(__if_hash_cached<is_default_constructible<_H2>>::value,
usr/include/c++/7.4.0/bits/hashtable_policy.h
  824       using __node_type = _Hash_node<_Value, _Traits::__hash_cached::value>;
 1755 			   _Traits::__hash_cached::value>,
 1772 					     __hash_cached::value>;
 1778 					      __constant_iterators::value,
 1779 					      __hash_cached::value>;
 1782 						   __constant_iterators::value,
 1783 						   __hash_cached::value>;
 1787 						  __constant_iterators::value,
 1788 						     __hash_cached::value>;
 1793 					__constant_iterators::value,
 1794 					__hash_cached::value>;
 1796     using __ireturn_type = typename std::conditional<__unique_keys::value,
 1802 					__hash_code, __hash_cached::value>;
usr/include/c++/7.4.0/bits/move.h
   86       static_assert(!std::is_lvalue_reference<_Tp>::value, "template argument"
  186 			      is_move_assignable<_Tp>>::value>::type
usr/include/c++/7.4.0/bits/random.h
  160 	static_assert(std::is_floating_point<_DInputType>::value,
  238       static_assert(std::is_unsigned<_UIntType>::value,
  446       static_assert(std::is_unsigned<_UIntType>::value,
  515 	typename std::enable_if<std::is_class<_Sseq>::value>::type
 1927       static_assert(std::is_floating_point<_RealType>::value,
 2354       static_assert(std::is_floating_point<_RealType>::value,
usr/include/c++/7.4.0/bits/random.tcc
 3314       static_assert(std::is_floating_point<_RealType>::value,
usr/include/c++/7.4.0/bits/regex.h
  396       static_assert(is_same<_Ch_type, typename _Rx_traits::char_type>::value,
usr/include/c++/7.4.0/bits/regex_compiler.h
  536 	return 1ul << (sizeof(_CharT) * __CHAR_BIT__ * int(_UseCache::value));
  540       typedef typename std::conditional<_UseCache::value,
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  661 	  using _Del2 = typename conditional<is_reference<_Del>::value,
 1081 	  static_assert( !is_void<_Yp>::value, "incomplete type" );
 1090 	  static_assert(__is_invocable<_Deleter&, _Yp*&>::value,
 1369 	typename enable_if<__has_esft_base<_Yp2>::value>::type
 1377 	typename enable_if<!__has_esft_base<_Yp2>::value>::type
usr/include/c++/7.4.0/bits/std_function.h
  161 	(__is_location_invariant<_Functor>::value
usr/include/c++/7.4.0/bits/stl_algobase.h
  364 	  static_assert( __assignable::type::value, "type is not assignable" );
  566 	  static_assert( __assignable::type::value, "type is not assignable" );
usr/include/c++/7.4.0/bits/stl_construct.h
  133       static_assert(is_destructible<_Value_type>::value,
usr/include/c++/7.4.0/bits/stl_iterator.h
 1030       typedef typename conditional<is_reference<__base_ref>::value,
usr/include/c++/7.4.0/bits/stl_map.h
  806 	__enable_if_t<is_constructible<value_type, _Pair>::value,
  866 	__enable_if_t<is_constructible<value_type, _Pair>::value, iterator>
usr/include/c++/7.4.0/bits/stl_multimap.h
  542 	__enable_if_t<is_constructible<value_type, _Pair>::value, iterator>
  585 	__enable_if_t<is_constructible<value_type, _Pair&&>::value, iterator>
usr/include/c++/7.4.0/bits/stl_pair.h
  101 		      is_constructible<_T2, const _U2&>>::value;
  108 		      is_convertible<const _U2&, _T2>>::value;
  115 		      is_constructible<_T2, _U2&&>>::value;
  122 		      is_convertible<_U2&&, _T2>>::value;
  136 		      >::value;
  150 		      >::value;
  380 		       is_copy_assignable<_T2>>::value,
  391 		       is_move_assignable<_T2>>::value,
  403 				is_assignable<_T2&, const _U2&>>::value,
  414 				is_assignable<_T2&, _U2&&>>::value,
usr/include/c++/7.4.0/bits/stl_uninitialized.h
  128       const bool __assignable = is_assignable<_RefType2, _RefType1>::value;
  190       const bool __assignable = is_copy_assignable<_ValueType>::value;
  252       const bool __assignable = is_copy_assignable<_ValueType>::value;
  579       const bool __assignable = is_copy_assignable<_ValueType>::value;
usr/include/c++/7.4.0/bits/uniform_int_dist.h
   63       static_assert(std::is_integral<_IntType>::value,
usr/include/c++/7.4.0/bits/unique_ptr.h
   74 	static_assert(!is_void<_Tp>::value,
  107       typename enable_if<is_convertible<_Up(*)[], _Tp(*)[]>::value>::type
  135 	       is_default_constructible<_Dp>>::value>;
  213 	  typename conditional<is_reference<deleter_type>::value,
  227       { static_assert(!std::is_reference<deleter_type>::value,
  299           >::value,
  486                  typename conditional<is_reference<deleter_type>::value,
  558                   >::value,
usr/include/c++/7.4.0/bits/unordered_map.h
  588 	__enable_if_t<is_constructible<value_type, _Pair&&>::value,
 1484 	__enable_if_t<is_constructible<value_type, _Pair&&>::value, iterator>
usr/include/c++/7.4.0/chrono
   83       typedef ratio<__gcd_num::value,
   84         (_Period1::den / __gcd_den::value) * _Period2::den> __r;
  192       constexpr typename enable_if<__is_duration<_ToDur>::value,
  308 	static_assert(!__is_duration<_Rep>::value, "rep cannot be a duration");
  309 	static_assert(__is_ratio<_Period>::value,
  499 	enable_if<!__is_duration<_Rep2>::value, _Rep2>::type>::type, _Period>
  672       constexpr typename enable_if<__is_duration<_ToDur>::value,
usr/include/c++/7.4.0/ext/aligned_buffer.h
   85     : std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>
   88 	std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>::type
usr/include/c++/7.4.0/ext/alloc_traits.h
  101     { return _Base_type::propagate_on_container_copy_assignment::value; }
  104     { return _Base_type::propagate_on_container_move_assignment::value; }
  110     { return _Base_type::is_always_equal::value; }
usr/include/c++/7.4.0/fstream
   80       static_assert(__chk_state<typename _Traits::state_type>::value,
   85 			    fpos<typename _Traits::state_type>>::value,
usr/include/c++/7.4.0/functional
  411 	_Safe_tuple_element_t<(is_placeholder<_Arg>::value - 1), _Tuple>&&
  415 	    ::std::get<(is_placeholder<_Arg>::value - 1)>(std::move(__tuple));
  841       static_assert(_Varargs::value
  842 		    ? sizeof...(_BoundArgs) >= _Arity::value + 1
  843 		    : sizeof...(_BoundArgs) == _Arity::value + 1,
  874     _Bind_helper<__is_socketlike<_Func>::value, _Func, _BoundArgs...>::type
usr/include/c++/7.4.0/future
  499 	  static_assert(is_void<_Res>::value, "Only used for promise<void>");
usr/include/c++/7.4.0/istream
  942       constexpr static bool value = type::value;
usr/include/c++/7.4.0/ostream
  647       constexpr static bool value = type::value;
usr/include/c++/7.4.0/ratio
   92       static const uintmax_t __a0 = __static_abs<_Pn>::value % __c;
   93       static const uintmax_t __a1 = __static_abs<_Pn>::value / __c;
   94       static const uintmax_t __b0 = __static_abs<_Qn>::value % __c;
   95       static const uintmax_t __b1 = __static_abs<_Qn>::value / __c;
  271         _Num * __static_sign<_Den>::value / __static_gcd<_Num, _Den>::value;
  271         _Num * __static_sign<_Den>::value / __static_gcd<_Num, _Den>::value;
  274         __static_abs<_Den>::value / __static_gcd<_Num, _Den>::value;
  274         __static_abs<_Den>::value / __static_gcd<_Num, _Den>::value;
  290         __static_gcd<_R1::num, _R2::den>::value;
  292         __static_gcd<_R2::num, _R1::den>::value;
usr/include/c++/7.4.0/system_error
  172       typename enable_if<is_error_code_enum<_ErrorCodeEnum>::value,
usr/include/c++/7.4.0/thread
  237 	  = typename _Build_index_tuple<tuple_size<_Tuple>::value>::__type;
usr/include/c++/7.4.0/tuple
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  503               >::value;
  511 			       >::type>>::value;
  567           return __and_<is_default_constructible<_Elements>...>::value;
  572             ::value;
 1297       static_assert(__i < tuple_size<tuple<>>::value,
 1536 	typename std::remove_reference<_Tp>::type>::value>::__type __type;
usr/include/c++/7.4.0/type_traits
   74       constexpr operator value_type() const noexcept { return value; }
   79       constexpr value_type operator()() const noexcept { return value; }
 1022       static constexpr bool value = type::value;
 1047       static constexpr bool value = type::value;
 2366         is_base_of<_Class, _Argval>>::value,
 2382         is_base_of<_Class, _Argval>>::value,
 2581 			      is_move_assignable<_Tp>>::value>::type
utils/TableGen/CodeGenDAGPatterns.h
   57                              uint8_t>::value,
utils/unittest/googlemock/include/gmock/gmock-actions.h
  104     return ::std::is_default_constructible<T>::value;
  109         T, ::std::is_default_constructible<T>::value>::Get();
utils/unittest/googlemock/include/gmock/gmock-matchers.h
  802   GTEST_COMPILE_ASSERT_(tuple_size<MatcherTuple>::value ==
  803                         tuple_size<ValueTuple>::value,
  805   return TuplePrefix<tuple_size<ValueTuple>::value>::
  815   TuplePrefix<tuple_size<MatcherTuple>::value>::ExplainMatchFailuresTo(
  832     return IterateOverTuple<Tuple, TupleSize::value>()(f, t, out);
  839       *out++ = f(::testing::get<TupleSize::value - kRemainingSize>(t));
 3477     matchers.reserve(::testing::tuple_size<MatcherTuple>::value);
 3506     matchers.reserve(::testing::tuple_size<MatcherTuple>::value);
utils/unittest/googletest/include/gtest/gtest-printers.h
  896   static const size_t tuple_size = ::std::tuple_size<Tuple>::value;