Skip to content

Commit 8fc47cb

Browse files
committed
clang-format
1 parent a4e97d1 commit 8fc47cb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

llvm/lib/IR/LLVMContext.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,4 @@ void LLVMContext::updateAtomGroupWaterline(uint64_t V) {
382382
pImpl->NextAtomGroup = std::max(pImpl->NextAtomGroup, V);
383383
}
384384

385-
uint64_t LLVMContext::incNextAtomGroup() {
386-
return pImpl->NextAtomGroup++;
387-
}
385+
uint64_t LLVMContext::incNextAtomGroup() { return pImpl->NextAtomGroup++; }

llvm/unittests/IR/MetadataTest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "../lib/IR/LLVMContextImpl.h"
109
#include "llvm/IR/Metadata.h"
10+
#include "../lib/IR/LLVMContextImpl.h"
1111
#include "llvm/ADT/DenseMap.h"
1212
#include "llvm/ADT/STLExtras.h"
1313
#include "llvm/IR/Constants.h"
@@ -1573,7 +1573,8 @@ TEST_F(DILocationTest, KeyInstructions) {
15731573
Context.pImpl->NextAtomGroup = 1;
15741574

15751575
EXPECT_EQ(Context.pImpl->NextAtomGroup, 1u);
1576-
DILocation *A1 = DILocation::get(Context, 1, 0, getSubprogram(), nullptr, false, 1, 2);
1576+
DILocation *A1 =
1577+
DILocation::get(Context, 1, 0, getSubprogram(), nullptr, false, 1, 2);
15771578
// The group is only applied to the DILocation if the build has opted into
15781579
// the additional DILocation fields needed for the feature.
15791580
#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS

0 commit comments

Comments
 (0)