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

References

include/llvm/Support/Alignment.h
  103     return Constant<std::alignment_of<T>::value>();
include/llvm/Support/Allocator.h
   81   template <typename T> T *Allocate(size_t Num = 1) {
   82     return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
   82     return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
  470       for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  470       for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  478       char *Begin = (char *)alignAddr(*I, Align::Of<T>());
  488       DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()),
  496   T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
  496   T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
tools/clang/lib/Format/UnwrappedLineFormatter.cpp
  917     StateNode(const LineState &State, bool NewLine, StateNode *Previous)
  921     StateNode *Previous;
  926   typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
  950     StateNode *Node =
  951         new (Allocator.Allocate()) StateNode(InitialState, false, nullptr);
  960       StateNode *Node = Queue.top().second;
 1006   void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode,
 1013     StateNode *Node = new (Allocator.Allocate())
 1014         StateNode(PreviousNode->State, NewLine, PreviousNode);
 1026   void reconstructPath(LineState &State, StateNode *Best) {
 1027     std::deque<StateNode *> Path;
 1049   llvm::SpecificBumpPtrAllocator<StateNode> Allocator;