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

References

include/llvm/ADT/PriorityQueue.h
   27 class PriorityQueue : public std::priority_queue<T, Sequence, Compare> {
   46   void erase_one(const T &t) {
include/llvm/ADT/SmallVector.h
   75   AlignedCharArrayUnion<T> FirstEl;
  114   using value_type = T;
  115   using iterator = T *;
  116   using const_iterator = const T *;
  121   using reference = T &;
  122   using const_reference = const T &;
  123   using pointer = T *;
  124   using const_pointer = const T *;
  259 class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> {
  264   static void destroy_range(T *, T *) {}
  264   static void destroy_range(T *, T *) {}
  286       T1 *I, T1 *E, T2 *Dest,
  288                                            T2>::value>::type * = nullptr) {
  294       memcpy(reinterpret_cast<void *>(Dest), I, (E - I) * sizeof(T));
  299   void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
  302   void push_back(const T &Elt) {
  305     memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  315 class SmallVectorImpl : public SmallVectorTemplateBase<T> {
  316   using SuperClass = SmallVectorTemplateBase<T>;
  357   void resize(size_type N, const T &NV) {
  374   LLVM_NODISCARD T pop_back_val() {
  397   void append(size_type NumInputs, const T &Elt) {
  405   void append(std::initializer_list<T> IL) {
  412   void assign(size_type NumElts, const T &Elt) {
  429   void assign(std::initializer_list<T> IL) {
  467   iterator insert(iterator I, T &&Elt) {
  497   iterator insert(iterator I, const T &Elt) {
  526   iterator insert(iterator I, size_type NumToInsert, const T &Elt) {
  637   void insert(iterator I, std::initializer_list<T> IL) {
  820   AlignedCharArrayUnion<T> InlineElts[N];
  837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
  837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
  846   explicit SmallVector(size_t Size, const T &Value = T())
  865   SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
  884   SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) {
include/llvm/Support/AlignOf.h
   30   T t;
   39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
   50       llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/type_traits.h
   91     T t;
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  122     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  130     static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
  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;
  157       is_copy_assignable<detail::trivial_helper<T>>::value;
  159       !is_copy_assignable<T>::value;
  163       is_move_assignable<detail::trivial_helper<T>>::value;
  165       !is_move_assignable<T>::value;
  169       std::is_destructible<detail::trivial_helper<T>>::value;
tools/clang/include/clang/Tooling/ASTDiff/ASTDiff.h
   38   NodeId Parent, LeftMostDescendant, RightMostDescendant;
   41   SmallVector<NodeId, 4> Children;
   57   NodeId getMapped(const SyntaxTree &SourceTree, NodeId Id) const;
   57   NodeId getMapped(const SyntaxTree &SourceTree, NodeId Id) const;
   82   NodeId getRootId() const;
   83   using PreorderIterator = NodeId;
   87   const Node &getNode(NodeId Id) const;
   88   int findPositionInParent(NodeId Id) const;
   96   std::string getNodeValue(NodeId Id) const;
tools/clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h
   36   NodeId &operator++() { return ++Id, *this; }
   37   NodeId &operator--() { return --Id, *this; }
   39   NodeId &operator*() { return *this; }
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
   38     SrcToDst = std::make_unique<NodeId[]>(Size);
   39     DstToSrc = std::make_unique<NodeId[]>(Size);
   42   void link(NodeId Src, NodeId Dst) {
   42   void link(NodeId Src, NodeId Dst) {
   46   NodeId getDst(NodeId Src) const { return SrcToDst[Src]; }
   46   NodeId getDst(NodeId Src) const { return SrcToDst[Src]; }
   47   NodeId getSrc(NodeId Dst) const { return DstToSrc[Dst]; }
   47   NodeId getSrc(NodeId Dst) const { return DstToSrc[Dst]; }
   48   bool hasSrc(NodeId Src) const { return getDst(Src).isValid(); }
   49   bool hasDst(NodeId Dst) const { return getSrc(Dst).isValid(); }
   52   std::unique_ptr<NodeId[]> SrcToDst, DstToSrc;
   70   NodeId getMapped(const std::unique_ptr<SyntaxTree::Impl> &Tree,
   71                    NodeId Id) const {
   80   bool identical(NodeId Id1, NodeId Id2) const;
   80   bool identical(NodeId Id1, NodeId Id2) const;
   83   bool isMatchingPossible(NodeId Id1, NodeId Id2) const;
   83   bool isMatchingPossible(NodeId Id1, NodeId Id2) const;
   86   bool haveSameParents(const Mapping &M, NodeId Id1, NodeId Id2) const;
   86   bool haveSameParents(const Mapping &M, NodeId Id1, NodeId Id2) const;
   90   void addOptimalMapping(Mapping &M, NodeId Id1, NodeId Id2) const;
   90   void addOptimalMapping(Mapping &M, NodeId Id1, NodeId Id2) const;
   94   double getJaccardSimilarity(const Mapping &M, NodeId Id1, NodeId Id2) const;
   94   double getJaccardSimilarity(const Mapping &M, NodeId Id1, NodeId Id2) const;
   97   NodeId findCandidate(const Mapping &M, NodeId Id1) const;
   97   NodeId findCandidate(const Mapping &M, NodeId Id1) const;
  133   std::vector<NodeId> Leaves;
  136   std::vector<NodeId> NodesBfs;
  139   NodeId getRootId() const { return 0; }
  143   const Node &getNode(NodeId Id) const { return Nodes[Id]; }
  144   Node &getMutableNode(NodeId Id) { return Nodes[Id]; }
  145   bool isValidNodeId(NodeId Id) const { return Id >= 0 && Id < getSize(); }
  147   int getNumberOfDescendants(NodeId Id) const;
  148   bool isInSubtree(NodeId Id, NodeId SubtreeRoot) const;
  148   bool isInSubtree(NodeId Id, NodeId SubtreeRoot) const;
  149   int findPositionInParent(NodeId Id, bool Shifted = false) const;
  155   std::string getNodeValue(NodeId Id) const;
  191   NodeId Parent;
  196   template <class T> std::tuple<NodeId, NodeId> PreTraverse(T *ASTNode) {
  196   template <class T> std::tuple<NodeId, NodeId> PreTraverse(T *ASTNode) {
  197     NodeId MyId = Id;
  214   void PostTraverse(std::tuple<NodeId, NodeId> State) {
  214   void PostTraverse(std::tuple<NodeId, NodeId> State) {
  215     NodeId MyId, PreviousParent;
  228     for (NodeId Child : N.Children)
  280 static std::vector<NodeId> getSubtreePostorder(const SyntaxTree::Impl &Tree,
  281                                                NodeId Root) {
  282   std::vector<NodeId> Postorder;
  283   std::function<void(NodeId)> Traverse = [&](NodeId Id) {
  285     for (NodeId Child : N.Children)
  293 static std::vector<NodeId> getSubtreeBfs(const SyntaxTree::Impl &Tree,
  294                                          NodeId Root) {
  295   std::vector<NodeId> Ids;
  299     for (NodeId Child : Tree.getNode(Ids[Expanded++]).Children)
  308   std::function<void(NodeId)> PostorderTraverse = [&](NodeId Id) {
  309     for (NodeId Child : getNode(Id).Children)
  319   for (NodeId Leaf : Leaves) {
  321     NodeId Parent, Cur = Leaf;
  330 int SyntaxTree::Impl::getNumberOfDescendants(NodeId Id) const {
  334 bool SyntaxTree::Impl::isInSubtree(NodeId Id, NodeId SubtreeRoot) const {
  334 bool SyntaxTree::Impl::isInSubtree(NodeId Id, NodeId SubtreeRoot) const {
  338 int SyntaxTree::Impl::findPositionInParent(NodeId Id, bool Shifted) const {
  339   NodeId Parent = getNode(Id).Parent;
  408 std::string SyntaxTree::Impl::getNodeValue(NodeId Id) const {
  490   std::vector<NodeId> RootIds;
  497   Subtree(const SyntaxTree::Impl &Tree, NodeId SubtreeRoot) : Tree(Tree) {
  503   NodeId getIdInRoot(SNodeId Id) const {
  515   NodeId getPostorderOffset() const {
  566                      const SyntaxTree::Impl &T2, NodeId Id1, NodeId Id2)
  566                      const SyntaxTree::Impl &T2, NodeId Id1, NodeId Id2)
  578   std::vector<std::pair<NodeId, NodeId>> getMatchingNodes() {
  578   std::vector<std::pair<NodeId, NodeId>> getMatchingNodes() {
  579     std::vector<std::pair<NodeId, NodeId>> Matches;
  579     std::vector<std::pair<NodeId, NodeId>> Matches;
  617             NodeId Id1 = S1.getIdInRoot(Row);
  618             NodeId Id2 = S2.getIdInRoot(Col);
  713   bool operator()(NodeId Id1, NodeId Id2) const {
  713   bool operator()(NodeId Id1, NodeId Id2) const {
  724   std::vector<NodeId> Container;
  725   PriorityQueue<NodeId, std::vector<NodeId>, HeightLess> List;
  725   PriorityQueue<NodeId, std::vector<NodeId>, HeightLess> List;
  731   void push(NodeId id) { List.push(id); }
  733   std::vector<NodeId> pop() {
  735     std::vector<NodeId> Result;
  751   void open(NodeId Id) {
  752     for (NodeId Child : Tree.getNode(Id).Children)
  758 bool ASTDiff::Impl::identical(NodeId Id1, NodeId Id2) const {
  758 bool ASTDiff::Impl::identical(NodeId Id1, NodeId Id2) const {
  771 bool ASTDiff::Impl::isMatchingPossible(NodeId Id1, NodeId Id2) const {
  771 bool ASTDiff::Impl::isMatchingPossible(NodeId Id1, NodeId Id2) const {
  775 bool ASTDiff::Impl::haveSameParents(const Mapping &M, NodeId Id1,
  776                                     NodeId Id2) const {
  777   NodeId P1 = T1.getNode(Id1).Parent;
  778   NodeId P2 = T2.getNode(Id2).Parent;
  783 void ASTDiff::Impl::addOptimalMapping(Mapping &M, NodeId Id1,
  784                                       NodeId Id2) const {
  789   std::vector<std::pair<NodeId, NodeId>> R = Matcher.getMatchingNodes();
  789   std::vector<std::pair<NodeId, NodeId>> R = Matcher.getMatchingNodes();
  791     NodeId Src = Tuple.first;
  792     NodeId Dst = Tuple.second;
  798 double ASTDiff::Impl::getJaccardSimilarity(const Mapping &M, NodeId Id1,
  799                                            NodeId Id2) const {
  803   for (NodeId Src = Id1 + 1; Src <= N1.RightMostDescendant; ++Src) {
  804     NodeId Dst = M.getDst(Src);
  817 NodeId ASTDiff::Impl::findCandidate(const Mapping &M, NodeId Id1) const {
  817 NodeId ASTDiff::Impl::findCandidate(const Mapping &M, NodeId Id1) const {
  818   NodeId Candidate;
  820   for (NodeId Id2 : T2) {
  835   std::vector<NodeId> Postorder = getSubtreePostorder(T1, T1.getRootId());
  836   for (NodeId Id1 : Postorder) {
  851     NodeId Id2 = findCandidate(M, Id1);
  872       for (NodeId Id : L1.pop())
  877       for (NodeId Id : L2.pop())
  881     std::vector<NodeId> H1, H2;
  884     for (NodeId Id1 : H1) {
  885       for (NodeId Id2 : H2) {
  892     for (NodeId Id1 : H1) {
  896     for (NodeId Id2 : H2) {
  919   for (NodeId Id1 : T1) {
  925   for (NodeId Id2 : T2) {
  931   for (NodeId Id1 : T1.NodesBfs) {
  932     NodeId Id2 = M.getDst(Id1);
  942   for (NodeId Id2 : T2.NodesBfs) {
  943     NodeId Id1 = M.getSrc(Id2);
  967 NodeId ASTDiff::getMapped(const SyntaxTree &SourceTree, NodeId Id) const {
  967 NodeId ASTDiff::getMapped(const SyntaxTree &SourceTree, NodeId Id) const {
  979 const Node &SyntaxTree::getNode(NodeId Id) const {
  984 NodeId SyntaxTree::getRootId() const { return TreeImpl->getRootId(); }
  990 int SyntaxTree::findPositionInParent(NodeId Id) const {
 1010 std::string SyntaxTree::getNodeValue(NodeId Id) const {
tools/clang/tools/clang-diff/ClangDiff.cpp
  268                                  diff::NodeId Id, unsigned Offset) {
  271   diff::NodeId LeftId, RightId;
  272   diff::NodeId TargetId = Diff.getMapped(Tree, Id);
  305   for (diff::NodeId Child : Node.Children)
  345                                 diff::NodeId Id) {
  361                             diff::NodeId Id) {
  389                       diff::NodeId Id) {
  402   for (diff::NodeId Id : Tree) {
  412                            diff::NodeId Dst) {
  414   diff::NodeId Src = Diff.getMapped(DstTree, Dst);
  516   for (diff::NodeId Dst : DstTree) {
  517     diff::NodeId Src = Diff.getMapped(DstTree, Dst);
  527   for (diff::NodeId Src : SrcTree) {
usr/include/c++/7.4.0/bits/alloc_traits.h
  387       using allocator_type = allocator<_Tp>;
  389       using value_type = _Tp;
  392       using pointer = _Tp*;
  395       using const_pointer = const _Tp*;
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  474 	construct(allocator_type& __a, _Up* __p, _Args&&... __args)
  486 	destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h
  108     class allocator: public __allocator_base<_Tp>
  113       typedef _Tp*       pointer;
  114       typedef const _Tp* const_pointer;
  115       typedef _Tp&       reference;
  116       typedef const _Tp& const_reference;
  117       typedef _Tp        value_type;
  137 	allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
   98     move(_Tp&& __t) noexcept
  104     : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
  105                     is_copy_constructible<_Tp>>::type { };
  184     typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>,
  185 			      is_move_constructible<_Tp>,
  186 			      is_move_assignable<_Tp>>::value>::type
  187     swap(_Tp& __a, _Tp& __b)
  187     swap(_Tp& __a, _Tp& __b)
  198       _Tp __tmp = _GLIBCXX_MOVE(__a);
usr/include/c++/7.4.0/bits/predefined_ops.h
   64       operator()(_Iterator __it, _Value& __val) const
   89       operator()(_Value& __val, _Iterator __it) const
  176 	operator()(_Iterator __it, _Value& __val)
usr/include/c++/7.4.0/bits/std_function.h
   62     : std::unary_function<_T1, _Res> { };
  314       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  317 	    std::forward<_ArgTypes>(__args)...);
  390     : public _Maybe_unary_or_binary_function<_Res, _ArgTypes...>,
  595       _Res operator()(_ArgTypes... __args) const;
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
  689 	typedef _Function_handler<_Res(_ArgTypes...), _Functor> _My_handler;
  706       return _M_invoker(_M_functor, std::forward<_ArgTypes>(__args)...);
usr/include/c++/7.4.0/bits/stl_construct.h
   74     _Construct(_T1* __p, _Args&&... __args)
   74     _Construct(_T1* __p, _Args&&... __args)
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
   75     { ::new(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...); }
  204 	     allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_function.h
  108       typedef _Arg 	argument_type;   
usr/include/c++/7.4.0/bits/stl_heap.h
  129 		_Distance __holeIndex, _Distance __topIndex, _Tp __value,
  215 		  _Distance __len, _Tp __value, _Compare __comp)
usr/include/c++/7.4.0/bits/stl_iterator.h
 1224     __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h
  181       typedef _Tp                         value_type;
  183       typedef _Tp*                        pointer;
  184       typedef _Tp&                        reference;
  192       typedef _Tp                         value_type;
  194       typedef const _Tp*                  pointer;
  195       typedef const _Tp&                  reference;
usr/include/c++/7.4.0/bits/stl_pair.h
  100 	return __and_<is_constructible<_T1, const _U1&>,
  100 	return __and_<is_constructible<_T1, const _U1&>,
  101 		      is_constructible<_T2, const _U2&>>::value;
  101 		      is_constructible<_T2, const _U2&>>::value;
  107 	return __and_<is_convertible<const _U1&, _T1>,
  107 	return __and_<is_convertible<const _U1&, _T1>,
  108 		      is_convertible<const _U2&, _T2>>::value;
  108 		      is_convertible<const _U2&, _T2>>::value;
  114 	return __and_<is_constructible<_T1, _U1&&>,
  114 	return __and_<is_constructible<_T1, _U1&&>,
  115 		      is_constructible<_T2, _U2&&>>::value;
  115 		      is_constructible<_T2, _U2&&>>::value;
  121 	return __and_<is_convertible<_U1&&, _T1>,
  121 	return __and_<is_convertible<_U1&&, _T1>,
  122 		      is_convertible<_U2&&, _T2>>::value;
  122 		      is_convertible<_U2&&, _T2>>::value;
  128 	using __do_converts = __and_<is_convertible<const _U1&, _T1>,
  128 	using __do_converts = __and_<is_convertible<const _U1&, _T1>,
  129 				  is_convertible<_U2&&, _T2>>;
  129 				  is_convertible<_U2&&, _T2>>;
  133 	return __and_<is_constructible<_T1, const _U1&>,
  133 	return __and_<is_constructible<_T1, const _U1&>,
  134 		      is_constructible<_T2, _U2&&>,
  134 		      is_constructible<_T2, _U2&&>,
  142 	using __do_converts = __and_<is_convertible<_U1&&, _T1>,
  142 	using __do_converts = __and_<is_convertible<_U1&&, _T1>,
  143 				  is_convertible<const _U2&, _T2>>;
  143 				  is_convertible<const _U2&, _T2>>;
  147 	return __and_<is_constructible<_T1, _U1&&>,
  147 	return __and_<is_constructible<_T1, _U1&&>,
  148 		      is_constructible<_T2, const _U2&&>,
  148 		      is_constructible<_T2, const _U2&&>,
  209     : private __pair_base<_T1, _T2>
  209     : private __pair_base<_T1, _T2>
  211       typedef _T1 first_type;    /// @c first_type is the first bound type
  212       typedef _T2 second_type;   /// @c second_type is the second bound type
  214       _T1 first;                 /// @c first is a copy of the first object
  215       _T2 second;                /// @c second is a copy of the second object
  252       using _PCCP = _PCC<true, _T1, _T2>;
  252       using _PCCP = _PCC<true, _T1, _T2>;
  260       constexpr pair(const _T1& __a, const _T2& __b)
  260       constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  283 			    _T1, _T2>;
  283 			    _T1, _T2>;
  311        constexpr pair(_U1&& __x, const _T2& __y)
  311        constexpr pair(_U1&& __x, const _T2& __y)
  318        explicit constexpr pair(_U1&& __x, const _T2& __y)
  325        constexpr pair(const _T1& __x, _U2&& __y)
  325        constexpr pair(const _T1& __x, _U2&& __y)
  332        explicit pair(const _T1& __x, _U2&& __y)
  341 	constexpr pair(_U1&& __x, _U2&& __y)
  341 	constexpr pair(_U1&& __x, _U2&& __y)
  379 		__and_<is_copy_assignable<_T1>,
  380 		       is_copy_assignable<_T2>>::value,
  390 		__and_<is_move_assignable<_T1>,
  391 		       is_move_assignable<_T2>>::value,
  402       typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
  402       typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
  403 				is_assignable<_T2&, const _U2&>>::value,
  403 				is_assignable<_T2&, const _U2&>>::value,
  405 	operator=(const pair<_U1, _U2>& __p)
  405 	operator=(const pair<_U1, _U2>& __p)
  413       typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
  413       typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
  414 				is_assignable<_T2&, _U2&&>>::value,
  414 				is_assignable<_T2&, _U2&&>>::value,
  416 	operator=(pair<_U1, _U2>&& __p)
  416 	operator=(pair<_U1, _U2>&& __p)
usr/include/c++/7.4.0/bits/stl_uninitialized.h
  288 			   _ForwardIterator __result, allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_vector.h
   77 	rebind<_Tp>::other _Tp_alloc_type;
  216     class vector : protected _Vector_base<_Tp, _Alloc>
  227       typedef _Vector_base<_Tp, _Alloc>			_Base;
  232       typedef _Tp					value_type;
  919       _Tp*
  923       const _Tp*
  962 	emplace_back(_Args&&... __args);
 1483 	_M_realloc_insert(iterator __position, _Args&&... __args);
usr/include/c++/7.4.0/bits/unique_ptr.h
  103         default_delete(const default_delete<_Up[]>&) noexcept { }
  107       typename enable_if<is_convertible<_Up(*)[], _Tp(*)[]>::value>::type
  107       typename enable_if<is_convertible<_Up(*)[], _Tp(*)[]>::value>::type
  108 	operator()(_Up* __ptr) const
  110 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  401 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  403       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  411 	  = __and_< is_base_of<_Tp, _Up>,
  412 		    __not_<is_same<__remove_cv<_Tp>, __remove_cv<_Up>>> >;
  412 		    __not_<is_same<__remove_cv<_Tp>, __remove_cv<_Up>>> >;
  412 		    __not_<is_same<__remove_cv<_Tp>, __remove_cv<_Up>>> >;
  415       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  416       using element_type  = _Tp;
  815     { typedef unique_ptr<_Tp[]> __array; };
  831     { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); }
  831     { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); }
usr/include/c++/7.4.0/ext/alloc_traits.h
  117       { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h
   63       typedef _Tp*       pointer;
   64       typedef const _Tp* const_pointer;
   65       typedef _Tp&       reference;
   66       typedef const _Tp& const_reference;
   67       typedef _Tp        value_type;
   84 	new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
  111 	return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
  130       { return size_t(-1) / sizeof(_Tp); }
  135 	construct(_Up* __p, _Args&&... __args)
  135 	construct(_Up* __p, _Args&&... __args)
  136 	{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
  140 	destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/initializer_list
   50       typedef _E 		value_type;
   51       typedef const _E& 	reference;
   52       typedef const _E& 	const_reference;
   54       typedef const _E* 	iterator;
   55       typedef const _E* 	const_iterator;
usr/include/c++/7.4.0/tuple
   56     struct __is_empty_non_tuple : is_empty<_Tp> { };
  125       constexpr _Head_base(const _Head& __h)
  132         constexpr _Head_base(_UHead&& __h)
  133 	: _M_head_impl(std::forward<_UHead>(__h)) { }
  159       static constexpr _Head&
  162       static constexpr const _Head&
  165       _Head _M_head_impl;
  186     : public _Tuple_impl<_Idx + 1, _Tail...>,
  187       private _Head_base<_Idx, _Head>
  191       typedef _Tuple_impl<_Idx + 1, _Tail...> _Inherited;
  192       typedef _Head_base<_Idx, _Head> _Base;
  194       static constexpr _Head&
  197       static constexpr const _Head&
  210       constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
  210       constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
  216         constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
  216         constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
  227 	_Base(std::forward<_Head>(_M_head(__in))) { }
  230         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UElements...>& __in)
  235         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
  235         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&& __in)
  242 	_Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
  248 		    const _Head& __head, const _Tail&... __tail)
  248 		    const _Head& __head, const _Tail&... __tail)
  313 	  _M_head(*this) = _Tuple_impl<_Idx, _UElements...>::_M_head(__in);
  314 	  _M_tail(*this) = _Tuple_impl<_Idx, _UElements...>::_M_tail(__in);
  344     : private _Head_base<_Idx, _Head>
  348       typedef _Head_base<_Idx, _Head> _Base;
  350       static constexpr _Head&
  353       static constexpr const _Head&
  360       constexpr _Tuple_impl(const _Head& __head)
  365         constexpr _Tuple_impl(_UHead&& __head)
  373       : _Base(std::forward<_Head>(_M_head(__in))) { }
  376         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in)
  380         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in)
  390 		    const _Head& __head)
  442 	  _M_head(*this) = _Tuple_impl<_Idx, _UHead>::_M_head(__in);
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  907     class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
  907     class tuple<_T1, _T2> : public _Tuple_impl<0, _T1, _T2>
  909       typedef _Tuple_impl<0, _T1, _T2> _Inherited;
  909       typedef _Tuple_impl<0, _T1, _T2> _Inherited;
  939         _TC<is_same<_Dummy, void>::value, _T1, _T2>;
  939         _TC<is_same<_Dummy, void>::value, _T1, _T2>;
  947         constexpr tuple(const _T1& __a1, const _T2& __a2)
  947         constexpr tuple(const _T1& __a1, const _T2& __a2)
  956         explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
  956         explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
  961       using _TMC = _TC<true, _T1, _T2>;
  961       using _TMC = _TC<true, _T1, _T2>;
  971         constexpr tuple(_U1&& __a1, _U2&& __a2)
  971         constexpr tuple(_U1&& __a1, _U2&& __a2)
  995         constexpr tuple(const tuple<_U1, _U2>& __in)
  995         constexpr tuple(const tuple<_U1, _U2>& __in)
 1013         constexpr tuple(tuple<_U1, _U2>&& __in)
 1013         constexpr tuple(tuple<_U1, _U2>&& __in)
 1066 	tuple(allocator_arg_t __tag, const _Alloc& __a)
 1078 	      const _T1& __a1, const _T2& __a2)
 1078 	      const _T1& __a1, const _T2& __a2)
 1090 	      const _T1& __a1, const _T2& __a2)
 1090 	      const _T1& __a1, const _T2& __a2)
 1225         operator=(const tuple<_U1, _U2>& __in)
 1225         operator=(const tuple<_U1, _U2>& __in)
 1233         operator=(tuple<_U1, _U2>&& __in)
 1233         operator=(tuple<_U1, _U2>&& __in)
 1448     make_tuple(_Elements&&... __args)
 1588     constexpr tuple<_Elements&...>
 1589     tie(_Elements&... __args) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
  984       typedef decltype(__test<_Tp, _Arg>(0)) type;
  989     : public __and_<is_destructible<_Tp>,
  990                     __is_direct_constructible_impl<_Tp, _Arg>>
 1072 			 __is_direct_constructible_ref_cast<_Tp, _Arg>,
 1073 			 __is_direct_constructible_new_safe<_Tp, _Arg>
 1079     : public __is_direct_constructible_new<_Tp, _Arg>::type
 1119     : public __is_direct_constructible<_Tp, _Arg>
 1130     : public __is_constructible_impl<_Tp, _Args...>::type
 1142     : public is_constructible<_Tp, const _Tp&>
 1142     : public is_constructible<_Tp, const _Tp&>
 1148     : public __is_copy_constructible_impl<_Tp>
 1160     : public is_constructible<_Tp, _Tp&&>
 1160     : public is_constructible<_Tp, _Tp&&>
 1166     : public __is_move_constructible_impl<_Tp>
 1215     : public __and_<is_constructible<_Tp, _Args...>,
 1216 		    __is_nt_constructible_impl<_Tp, _Args...>>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1246     : public is_nothrow_constructible<_Tp, _Tp&&>
 1252     : public __is_nothrow_move_constructible_impl<_Tp>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1292     : public __is_copy_assignable_impl<_Tp>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1310     : public __is_move_assignable_impl<_Tp>
 1352     : public is_nothrow_assignable<_Tp&, _Tp&&>
 1352     : public is_nothrow_assignable<_Tp&, _Tp&&>
 1358     : public __is_nt_move_assignable_impl<_Tp>
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>
 1950     { typedef _Tp     type; };
 1955     { typedef _Tp     type; };
 1983     { typedef _Up     type; };
 2104     { typedef typename remove_cv<_Up>::type __type; };
 2131       typedef _Tp __type;
 2253     inline typename add_rvalue_reference<_Tp>::type
 2428       std::declval<_Fn>()(std::declval<_Args>()...)
 2439       typedef decltype(_S_test<_Functor, _ArgTypes...>(0)) type;
 2452 	_Functor, _ArgTypes...
 2458     : public __invoke_result<_Functor, _ArgTypes...>
 2574       typename remove_reference<_Tp>::type>::type>::type