Skip to content

Commit a42f173

Browse files
Fix code format
1 parent 5098e14 commit a42f173

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/tools/llvm-exegesis/lib/SnippetFile.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ namespace {
3737
// An MCStreamer that reads a BenchmarkCode definition from a file.
3838
class BenchmarkCodeStreamer : public MCStreamer, public AsmCommentConsumer {
3939
public:
40-
explicit BenchmarkCodeStreamer(
41-
const ExegesisTarget &Target, MCContext *Context,
42-
const LLVMState &State, BenchmarkCode *Result)
43-
: MCStreamer(*Context), Target(Target), State(State),
44-
Result(Result) {}
40+
explicit BenchmarkCodeStreamer(const ExegesisTarget &Target,
41+
MCContext *Context, const LLVMState &State,
42+
BenchmarkCode *Result)
43+
: MCStreamer(*Context), Target(Target), State(State), Result(Result) {}
4544
// Implementation of the MCStreamer interface. We only care about
4645
// instructions.
4746
void emitInstruction(const MCInst &Instruction,
@@ -256,7 +255,8 @@ Expected<std::vector<BenchmarkCode>> readSnippets(const LLVMState &State,
256255
TM.getTarget().createMCObjectFileInfo(Context, /*PIC=*/false));
257256
Context.setObjectFileInfo(ObjectFileInfo.get());
258257
Context.initInlineSourceManager();
259-
BenchmarkCodeStreamer Streamer(State.getExegesisTarget(), &Context, State, &Result);
258+
BenchmarkCodeStreamer Streamer(State.getExegesisTarget(), &Context, State,
259+
&Result);
260260

261261
std::string Error;
262262
raw_string_ostream ErrorStream(Error);

0 commit comments

Comments
 (0)