Skip to content

Commit 4dd0cc4

Browse files
committed
fixup! clang-format
1 parent c96caf4 commit 4dd0cc4

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

llvm/unittests/tools/llvm-exegesis/RISCV/SnippetGeneratorTest.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include "../Common/AssemblerUtils.h"
1010
#include "LlvmState.h"
1111
#include "MCInstrDescView.h"
12-
#include "RISCVInstrInfo.h"
1312
#include "ParallelSnippetGenerator.h"
13+
#include "RISCVInstrInfo.h"
1414
#include "RegisterAliasing.h"
1515
#include "SerialSnippetGenerator.h"
1616
#include "TestBase.h"
@@ -44,12 +44,14 @@ class RISCVSnippetGeneratorTest : public RISCVTestBase {
4444
SnippetGeneratorT Generator;
4545
};
4646

47-
using RISCVSerialSnippetGeneratorTest = RISCVSnippetGeneratorTest<SerialSnippetGenerator>;
47+
using RISCVSerialSnippetGeneratorTest =
48+
RISCVSnippetGeneratorTest<SerialSnippetGenerator>;
4849

4950
using RISCVParallelSnippetGeneratorTest =
5051
RISCVSnippetGeneratorTest<ParallelSnippetGenerator>;
5152

52-
TEST_F(RISCVSerialSnippetGeneratorTest, ImplicitSelfDependencyThroughExplicitRegs) {
53+
TEST_F(RISCVSerialSnippetGeneratorTest,
54+
ImplicitSelfDependencyThroughExplicitRegs) {
5355
// - ADD
5456
// - Op0 Explicit Def RegClass(GPR)
5557
// - Op1 Explicit Use RegClass(GPR)

llvm/unittests/tools/llvm-exegesis/RISCV/TargetTest.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,22 @@
1717
#include "gmock/gmock.h"
1818
#include "gtest/gtest.h"
1919

20-
namespace llvm{
20+
namespace llvm {
2121
namespace exegesis {
2222

2323
void InitializeRISCVExegesisTarget();
2424

2525
namespace {
2626

27-
using testing::NotNull;
2827
using testing::IsEmpty;
2928
using testing::Not;
29+
using testing::NotNull;
3030

3131
constexpr const char kTriple[] = "riscv64-unknown-linux";
3232

3333
class RISCVTargetTest : public ::testing::Test {
3434
protected:
35-
RISCVTargetTest()
36-
: ExegesisTarget_(ExegesisTarget::lookup(Triple(kTriple))) {
35+
RISCVTargetTest() : ExegesisTarget_(ExegesisTarget::lookup(Triple(kTriple))) {
3736
EXPECT_THAT(ExegesisTarget_, NotNull());
3837
std::string error;
3938
Target_ = TargetRegistry::lookupTarget(kTriple, error);

llvm/unittests/tools/llvm-exegesis/RISCV/TestBase.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ void InitializeRISCVExegesisTarget();
2525
class RISCVTestBase : public ::testing::Test {
2626
protected:
2727
RISCVTestBase()
28-
: State(cantFail(LLVMState::Create("riscv64-unknown-linux", "generic-rv64"))) {}
28+
: State(cantFail(
29+
LLVMState::Create("riscv64-unknown-linux", "generic-rv64"))) {}
2930

3031
static void SetUpTestCase() {
3132
LLVMInitializeRISCVTargetInfo();

0 commit comments

Comments
 (0)