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

References

include/llvm/Demangle/ItaniumDemangle.h
 2377   PODSmallVector<ForwardTemplateReference *, 4> ForwardTemplateRefs;
 2407     return ASTAllocator.template makeNode<T>(std::forward<Args>(args)...);
 5363     Node *ForwardRef = make<ForwardTemplateReference>(Index);
lib/Demangle/ItaniumDemangle.cpp
  224   template<typename NodeT> void operator()(const NodeT *Node) {
  232   void operator()(const ForwardTemplateReference *Node) {
  319   template<typename T, typename ...Args> T *makeNode(Args &&...args) {
  320     return new (Alloc.allocate(sizeof(T)))
  321         T(std::forward<Args>(args)...);
lib/Support/ItaniumManglingCanonicalizer.cpp
   83 template<> void ProfileNode::operator()(const ForwardTemplateReference *N) {
  112     if (std::is_same<T, ForwardTemplateReference>::value) {
  112     if (std::is_same<T, ForwardTemplateReference>::value) {
  115       return {new (RawAlloc.Allocate(sizeof(T), alignof(T)))
  115       return {new (RawAlloc.Allocate(sizeof(T), alignof(T)))
  116                   T(std::forward<Args>(As)...),
  121     profileCtor(ID, NodeKind<T>::Kind, As...);
  130     static_assert(alignof(T) <= alignof(NodeHeader),
  133         RawAlloc.Allocate(sizeof(NodeHeader) + sizeof(T), alignof(NodeHeader));
  135     T *Result = new (New->getNode()) T(std::forward<Args>(As)...);
  135     T *Result = new (New->getNode()) T(std::forward<Args>(As)...);
  159         getOrCreateNode<T>(CreateNewNodes, std::forward<Args>(As)...);
  180       return Self.makeNodeSimple<T>(std::forward<Args>(As)...);
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
  277   template <typename T, typename... Args> T *makeNode(Args &&... args) {
  278     return new (Alloc.Allocate(sizeof(T), alignof(T)))
  278     return new (Alloc.Allocate(sizeof(T), alignof(T)))
  279         T(std::forward<Args>(args)...);
unittests/Demangle/ItaniumDemangleTest.cpp
   26   template <typename T, typename... Args> T *makeNode(Args &&... args) {
   27     return new (Alloc.Allocate(sizeof(T), alignof(T)))
   27     return new (Alloc.Allocate(sizeof(T), alignof(T)))
   28         T(std::forward<Args>(args)...);