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

Declarations

tools/clang/include/clang/Analysis/CallGraph.h
   31 class CallGraphNode;

References

include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
tools/clang/include/clang/Analysis/CallGraph.h
   45       llvm::DenseMap<const Decl *, std::unique_ptr<CallGraphNode>>;
   51   CallGraphNode *Root;
   69   CallGraphNode *getNode(const Decl *) const;
   73   CallGraphNode *getOrInsertNode(Decl *);
   90   CallGraphNode *getRoot() const { return Root; }
   95   using nodes_iterator = llvm::SetVector<CallGraphNode *>::iterator;
   96   using const_nodes_iterator = llvm::SetVector<CallGraphNode *>::const_iterator;
  141   CallGraphNode *allocateNewNode(Decl *);
  146   using CallRecord = CallGraphNode *;
  170   void addCallee(CallGraphNode *N) {
  186   using NodeType = clang::CallGraphNode;
  187   using NodeRef = clang::CallGraphNode *;
  190   static NodeType *getEntryNode(clang::CallGraphNode *CGN) { return CGN; }
  196   using NodeType = const clang::CallGraphNode;
  197   using NodeRef = const clang::CallGraphNode *;
  200   static NodeType *getEntryNode(const clang::CallGraphNode *CGN) { return CGN; }
  206   : public GraphTraits<clang::CallGraphNode*> {
  211   static clang::CallGraphNode *
  232   public GraphTraits<const clang::CallGraphNode*> {
  237   static clang::CallGraphNode *
tools/clang/lib/Analysis/CallGraph.cpp
   48   CallGraphNode *CallerNode;
   51   CGBuilder(CallGraph *g, CallGraphNode *N) : G(g), CallerNode(N) {}
   71       CallGraphNode *CalleeNode = G->getOrInsertNode(D);
  178   CallGraphNode *Node = getOrInsertNode(D);
  193 CallGraphNode *CallGraph::getNode(const Decl *F) const {
  199 CallGraphNode *CallGraph::getOrInsertNode(Decl *F) {
  203   std::unique_ptr<CallGraphNode> &Node = FunctionMap[F];
  207   Node = std::make_unique<CallGraphNode>(F);
  222     const CallGraphNode *N = *I;
  231     for (CallGraphNode::const_iterator CI = N->begin(),
  266   static std::string getNodeLabel(const CallGraphNode *Node,
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  565     CallGraphNode *N = *I;
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.cpp
   23     const CallGraphNode *N = (I->second).get();
   49   CallGraphNode *CallerNode = getOrInsertNode(const_cast<Decl *>(Caller));
   50   CallGraphNode *CalleeNode = getOrInsertNode(const_cast<Decl *>(Callee));
   56 CallGraphNode *HelperDeclRefGraph::getOrInsertNode(Decl *F) {
   58   std::unique_ptr<CallGraphNode> &Node = DeclMap[F];
   62   Node = std::make_unique<CallGraphNode>(F);
   66 CallGraphNode *HelperDeclRefGraph::getNode(const Decl *D) const {
   71 llvm::DenseSet<const CallGraphNode *>
   73   const auto *RootNode = getNode(Root);
   76   llvm::DenseSet<const CallGraphNode *> ConnectedNodes;
   77   std::function<void(const CallGraphNode *)> VisitNode =
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.h
   56   CallGraphNode *getNode(const Decl *D) const;
   60   llvm::DenseSet<const CallGraphNode *> getReachableNodes(const Decl *D) const;
   69   CallGraphNode *getOrInsertNode(Decl *D);
   71   typedef llvm::DenseMap<const Decl *, std::unique_ptr<CallGraphNode>>
tools/clang/tools/extra/clang-move/Move.cpp
  462   llvm::DenseSet<const CallGraphNode *> Nodes;
  469   for (const auto *Node : Nodes)
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_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
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1983     { typedef _Up     type; };