Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorse committed Sep 30, 2024
1 parent b8ec33b commit 7fa7d88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2831,7 +2831,8 @@ static void emitRangeList(

// Gather all the ranges that apply to the same section so they can share
// a base address entry.
SmallMapVector<const MCSection *, std::vector<decltype(&*R.begin())>, 16> SectionRanges;
SmallMapVector<const MCSection *, std::vector<decltype(&*R.begin())>, 16>
SectionRanges;

for (const auto &Range : R)
SectionRanges[&Range.Begin->getSection()].push_back(&Range);
Expand Down
3 changes: 2 additions & 1 deletion llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ void ScheduleDAGInstrs::initSUnits() {
}
}

class ScheduleDAGInstrs::Value2SUsMap : public SmallMapVector<ValueType, SUList, 4> {
class ScheduleDAGInstrs::Value2SUsMap
: public SmallMapVector<ValueType, SUList, 4> {
/// Current total number of SUs in map.
unsigned NumNodes = 0;

Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class ScheduleDAGRRList : public ScheduleDAGSDNodes {

// Hack to keep track of the inverse of FindCallSeqStart without more crazy
// DAG crawling.
SmallDenseMap<SUnit*, SUnit*, 16> CallSeqEndForStart;
SmallDenseMap<SUnit *, SUnit *, 16> CallSeqEndForStart;

public:
ScheduleDAGRRList(MachineFunction &mf, bool needlatency,
Expand Down

0 comments on commit 7fa7d88

Please sign in to comment.