Skip to content

Commit

Permalink
apply clang-format suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
hhorii committed May 13, 2024
1 parent 8afc504 commit 680dc11
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions python_lib/qss_compiler/lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,20 +225,20 @@ py::tuple py_compile_file(const std::string &inputFile,
qssc::config::EmitAction parseEmitAction(const std::string &name) {
if (name == "ast")
return qssc::config::EmitAction::AST;
else if (name == "ast-pretty")
if (name == "ast-pretty")
return qssc::config::EmitAction::ASTPretty;
else if (name == "mlir")
if (name == "mlir")
return qssc::config::EmitAction::MLIR;
else if (name == "bytecode")
if (name == "bytecode")
return qssc::config::EmitAction::Bytecode;
else if (name == "wmem")
if (name == "wmem")
return qssc::config::EmitAction::WaveMem;
else if (name == "qem")
if (name == "qem")
return qssc::config::EmitAction::QEM;
else if (name == "qeqem")
if (name == "qeqem")
return qssc::config::EmitAction::QEQEM;
else
return qssc::config::EmitAction::None;

return qssc::config::EmitAction::None;
}

py::tuple py_link_file(const std::string &input, const bool enableInMemoryInput,
Expand Down

0 comments on commit 680dc11

Please sign in to comment.