Skip to content

Commit 8d6114c

Browse files
committed
clang-format fixes
1 parent 672dd58 commit 8d6114c

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

llvm/include/llvm/IR/DebugInfoMetadata.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2537,12 +2537,8 @@ class DILocation : public MDNode {
25372537
}
25382538

25392539
public:
2540-
uint64_t getAtomGroup() const {
2541-
return AtomGroup;
2542-
}
2543-
uint8_t getAtomRank() const {
2544-
return AtomRank;
2545-
}
2540+
uint64_t getAtomGroup() const { return AtomGroup; }
2541+
uint8_t getAtomRank() const { return AtomRank; }
25462542

25472543
const DILocation *getWithoutAtom() const {
25482544
if (!getAtomGroup() && !getAtomRank())

llvm/lib/IR/LLVMContextImpl.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -329,15 +329,13 @@ template <> struct MDNodeKeyImpl<DILocation> {
329329
: Scope(L->getRawScope()), InlinedAt(L->getRawInlinedAt()),
330330
AtomGroup(L->getAtomGroup()), AtomRank(L->getAtomRank()),
331331
Line(L->getLine()), Column(L->getColumn()),
332-
ImplicitCode(L->isImplicitCode()) {
333-
}
332+
ImplicitCode(L->isImplicitCode()) {}
334333

335334
bool isKeyOf(const DILocation *RHS) const {
336335
return Line == RHS->getLine() && Column == RHS->getColumn() &&
337336
Scope == RHS->getRawScope() && InlinedAt == RHS->getRawInlinedAt() &&
338-
ImplicitCode == RHS->isImplicitCode()
339-
&& AtomGroup == RHS->getAtomGroup() &&
340-
AtomRank == RHS->getAtomRank();
337+
ImplicitCode == RHS->isImplicitCode() &&
338+
AtomGroup == RHS->getAtomGroup() && AtomRank == RHS->getAtomRank();
341339
}
342340

343341
unsigned getHashValue() const {

0 commit comments

Comments
 (0)