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

Declarations

include/llvm/Demangle/MicrosoftDemangleNodes.h
  271 struct PrimitiveTypeNode;

References

include/llvm/Demangle/MicrosoftDemangle.h
   91   template <typename T, typename... Args> T *alloc(Args &&... ConstructorArgs) {
   92     constexpr size_t Size = sizeof(T);
   97         (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1));
   97         (((size_t)P + alignof(T) - 1) & ~(size_t)(alignof(T) - 1));
  103       return new (PP) T(std::forward<Args>(ConstructorArgs)...);
  108     return new (Head->Buf) T(std::forward<Args>(ConstructorArgs)...);
  171   PrimitiveTypeNode *demanglePrimitiveType(StringView &MangledName);
lib/Demangle/MicrosoftDemangle.cpp
 1921 PrimitiveTypeNode *Demangler::demanglePrimitiveType(StringView &MangledName) {
 1923     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Nullptr);
 1927     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Void);
 1929     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Char);
 1931     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Schar);
 1933     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Uchar);
 1935     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Short);
 1937     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Ushort);
 1939     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Int);
 1941     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Uint);
 1943     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Long);
 1945     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Ulong);
 1947     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Float);
 1949     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Double);
 1951     return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Ldouble);
 1959       return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Bool);
 1961       return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Int64);
 1963       return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Uint64);
 1965       return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Wchar);
 1967       return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Char8);
 1969       return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Char16);
 1971       return Arena.alloc<PrimitiveTypeNode>(PrimitiveKind::Char32);