summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 10:18:23 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 10:18:23 +0100
commit200f051ab38f7074f5a20ef1cb61c87e85638d9d (patch)
tree38f4071e5d9004c5bc469e6928e312483a19b43e
parent8d68008d2d3bc717d7bacf38aed0a4b42bbe5b24 (diff)
chore: update header guards.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--CLAUDE.md2
-rwxr-xr-xbooster.pl1
-rw-r--r--include/ocl/tproc.hpp8
-rw-r--r--include/ocl/tproc/detail/config.hpp6
-rw-r--r--include/ocl/tproc/detail/rope_fwd.hpp4
-rw-r--r--include/ocl/tproc/rope.hpp6
-rw-r--r--include/ocl/tproc/rope.inl4
7 files changed, 15 insertions, 16 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index c40d1b4..e6ab9bd 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -127,5 +127,5 @@ The `basic_rope` class template is the core component:
- Use tabs for indentation (enforced by clang-format)
- All source files include Boost Software License headers
-- Include guards use `__OCL_TPROC_*` pattern for main headers, `OCL_TPROC_*` for detail headers
+- Include guards use `OCL_TPROC_*` pattern for main headers, `OCL_TPROC_*` for detail headers
- Namespace: All public API is in `ocl` or `ocl::tproc` namespace
diff --git a/booster.pl b/booster.pl
index fe50b36..bd4c51e 100755
--- a/booster.pl
+++ b/booster.pl
@@ -53,7 +53,6 @@ sub process_file {
my $original = $content;
$content =~ s/\bocl::/boost::/g;
- $content =~ s/\b__OCL_/BOOST_/g;
$content =~ s/\bocl\//boost\//g;
$content =~ s/\bOCL_/BOOST_/g;
diff --git a/include/ocl/tproc.hpp b/include/ocl/tproc.hpp
index 3bd0e67..132e59a 100644
--- a/include/ocl/tproc.hpp
+++ b/include/ocl/tproc.hpp
@@ -3,14 +3,14 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/tproc
-#ifndef __OCL_TPROC_HPP
-#define __OCL_TPROC_HPP
+#ifndef OCL_TPROC_HPP
+#define OCL_TPROC_HPP
#include <ocl/tproc/detail/config.hpp>
#include <ocl/tproc/rope.hpp>
-#ifdef __OCL_TPROC_REGEX
+#ifdef OCL_TPROC_REGEX
// #include <ocl/tproc/linter.hpp>
#endif
-#endif // __OCL_TPROC_HPP
+#endif // OCL_TPROC_HPP
diff --git a/include/ocl/tproc/detail/config.hpp b/include/ocl/tproc/detail/config.hpp
index 04d0eed..12bcc3d 100644
--- a/include/ocl/tproc/detail/config.hpp
+++ b/include/ocl/tproc/detail/config.hpp
@@ -5,8 +5,8 @@
* Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
*/
-#ifndef __OCL_TPROC_CONFIG
-#define __OCL_TPROC_CONFIG
+#ifndef OCL_TPROC_CONFIG
+#define OCL_TPROC_CONFIG
#include <boost/assert/source_location.hpp>
#include <ocl/detail/config.hpp>
@@ -32,4 +32,4 @@ namespace ocl::tproc
} // namespace ocl::tproc
-#endif // ifndef __OCL_TPROC_CONFIG
+#endif // ifndef OCL_TPROC_CONFIG
diff --git a/include/ocl/tproc/detail/rope_fwd.hpp b/include/ocl/tproc/detail/rope_fwd.hpp
index 44cec68..e72f287 100644
--- a/include/ocl/tproc/detail/rope_fwd.hpp
+++ b/include/ocl/tproc/detail/rope_fwd.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/tproc
-#ifndef __OCL_TPROC_ROPE_FWD_HPP
-#define __OCL_TPROC_ROPE_FWD_HPP
+#ifndef OCL_TPROC_ROPE_FWD_HPP
+#define OCL_TPROC_ROPE_FWD_HPP
#include <ocl/tproc/detail/config.hpp>
diff --git a/include/ocl/tproc/rope.hpp b/include/ocl/tproc/rope.hpp
index 83f8bc5..a506336 100644
--- a/include/ocl/tproc/rope.hpp
+++ b/include/ocl/tproc/rope.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/tproc
-#ifndef __OCL_TPROC_ROPE_HPP
-#define __OCL_TPROC_ROPE_HPP
+#ifndef OCL_TPROC_ROPE_HPP
+#define OCL_TPROC_ROPE_HPP
#include <ocl/tproc/detail/rope_fwd.hpp>
@@ -220,4 +220,4 @@ inline std::wostream& operator<<(std::wostream& os, const ocl::tproc::wrope& r)
#include "rope.inl"
-#endif // __OCL_TPROC_ROPE_HPP
+#endif // OCL_TPROC_ROPE_HPP
diff --git a/include/ocl/tproc/rope.inl b/include/ocl/tproc/rope.inl
index 5ae96f1..90e8811 100644
--- a/include/ocl/tproc/rope.inl
+++ b/include/ocl/tproc/rope.inl
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/tproc
-#ifndef __OCL_TPROC_ROPE_INL
-#define __OCL_TPROC_ROPE_INL
+#ifndef OCL_TPROC_ROPE_INL
+#define OCL_TPROC_ROPE_INL
namespace ocl::tproc::rope
{