Skip to content

Commit

Permalink
[swallow]: update clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
muqiuhan committed Apr 16, 2024
1 parent f362efa commit 4f69a7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ImplementationFileExtensions:
- cc
- cpp
- cxx
AnalyzeTemporaryDtors: false
FormatStyle: none
User: muqiuhan
CheckOptions:
Expand Down
5 changes: 2 additions & 3 deletions compiler/ast/g-machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include "ast.hpp"
#include "code.hpp"
#include "diagnostics/reporter.hpp"
#include "g-machine/binop.hpp"
#include "g-machine/instruction.hpp"
#include "diagnostics/reporter.hpp"
#include "code.hpp"
#include "utils/panic/panic.hpp"
#include <format>

using swallow::compiler::gmachine::instruction::Instruction;
Expand Down
4 changes: 2 additions & 2 deletions compiler/diagnostics/diagnostics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ namespace swallow::compiler::diagnostics

auto Details::get_path() const -> const std::string & { return this->path_; }

LabelGroup::LabelGroup(Details *general_details_,
std::vector<const Label *> labels)
LabelGroup::LabelGroup(
Details *general_details_, std::vector<const Label *> labels)
: first_label_()
, last_label_()
, details_(general_details_)
Expand Down

0 comments on commit 4f69a7c

Please sign in to comment.