Skip to content

Commit 72efd59

Browse files
committed
clang-format
1 parent 511ee0a commit 72efd59

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"
@@ -1371,7 +1371,8 @@ TEST_F(DILocationTest, KeyInstructions) {
13711371
Context.pImpl->NextAtomGroup = 1;
13721372

13731373
EXPECT_EQ(Context.pImpl->NextAtomGroup, 1u);
1374-
DILocation *A1 = DILocation::get(Context, 1, 0, getSubprogram(), nullptr, false, 1, 2);
1374+
DILocation *A1 =
1375+
DILocation::get(Context, 1, 0, getSubprogram(), nullptr, false, 1, 2);
13751376
// The group is only applied to the DILocation if the build has opted into
13761377
// the additional DILocation fields needed for the feature.
13771378
#ifdef EXPERIMENTAL_KEY_INSTRUCTIONS

0 commit comments

Comments
 (0)