Skip to content

Commit

Permalink
Fixes from clang-tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinH committed Apr 19, 2024
1 parent eee9390 commit 5176fb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/tao/pegtl/internal/math_utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)

#ifndef TAO_PEGTL_INTERNAL_UTILITY_HPP
#define TAO_PEGTL_INTERNAL_UTILITY_HPP
#ifndef TAO_PEGTL_INTERNAL_MATH_UTILITY_HPP
#define TAO_PEGTL_INTERNAL_MATH_UTILITY_HPP

#include <cstddef>

Expand Down
4 changes: 2 additions & 2 deletions include/tao/pegtl/utf16.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
#include "internal/rules.hpp"

#define TAO_PEGTL_UTF_NAME utf16_be
#include "internal/utf_rules.ipp"
#include "internal/utf_rules.ipp" // NOLINT(readability-duplicate-include))

#define TAO_PEGTL_UTF_NAME utf16_le
#include "internal/utf_rules.ipp"
#include "internal/utf_rules.ipp" // NOLINT(readability-duplicate-include))

namespace TAO_PEGTL_NAMESPACE
{
Expand Down
4 changes: 2 additions & 2 deletions include/tao/pegtl/utf32.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
#include "internal/rules.hpp"

#define TAO_PEGTL_UTF_NAME utf32_be
#include "internal/utf_rules.ipp"
#include "internal/utf_rules.ipp" // NOLINT(readability-duplicate-include))

#define TAO_PEGTL_UTF_NAME utf32_le
#include "internal/utf_rules.ipp"
#include "internal/utf_rules.ipp" // NOLINT(readability-duplicate-include))

namespace TAO_PEGTL_NAMESPACE
{
Expand Down

0 comments on commit 5176fb6

Please sign in to comment.