Skip to content

Commit

Permalink
Update clang-format == 19.1.3.
Browse files Browse the repository at this point in the history
Fixes a bug in clang-format that would reorder multi-line string
literals according to the rules for `#include` directives.
  • Loading branch information
1uc committed Nov 13, 2024
1 parent 16b5f95 commit e3d98f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .bbp-project.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tools:
ClangFormat:
enable: True
version: ~=13.0
version: == 19.1.3
exclude:
match:
- ext/.*
Expand Down
2 changes: 1 addition & 1 deletion src/lexer/modtoken.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ModToken {
/// \{

ModToken()
: pos(nullptr, 0){};
: pos(nullptr, 0) {};

explicit ModToken(bool ext)
: pos(nullptr, 0)
Expand Down
2 changes: 1 addition & 1 deletion src/visitors/sympy_solver_visitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class SympySolverVisitor: public AstVisitor {
int SMALL_LINEAR_SYSTEM_MAX_STATES = 3)
: use_pade_approx(use_pade_approx)
, elimination(elimination)
, SMALL_LINEAR_SYSTEM_MAX_STATES(SMALL_LINEAR_SYSTEM_MAX_STATES){};
, SMALL_LINEAR_SYSTEM_MAX_STATES(SMALL_LINEAR_SYSTEM_MAX_STATES) {};

void visit_var_name(ast::VarName& node) override;
void visit_diff_eq_expression(ast::DiffEqExpression& node) override;
Expand Down

0 comments on commit e3d98f0

Please sign in to comment.