Skip to content

Commit

Permalink
Match conduit headerguard standard
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Oct 14, 2022
1 parent e13c8ca commit 7e3d2be
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/uit_emp/_codegen/make_facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def setup_one_facade(header_path: str) -> None:
relpath = lambda x: os.path.relpath(x, os.path.dirname(header_path))

content = textwrap.dedent(f"""\
#pragma once
#ifndef {header_guard}
#define {header_guard}
Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/base/always_assert.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_BASE_ALWAYS_ASSERT_HPP
#define UIT_EMP_BASE_ALWAYS_ASSERT_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/base/assert.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_BASE_ASSERT_HPP
#define UIT_EMP_BASE_ASSERT_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/base/error.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_BASE_ERROR_HPP
#define UIT_EMP_BASE_ERROR_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/base/errors.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_BASE_ERRORS_HPP
#define UIT_EMP_BASE_ERRORS_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/data/DataFile.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_DATA_DATAFILE_HPP
#define UIT_EMP_DATA_DATAFILE_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/data/DataNode.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_DATA_DATANODE_HPP
#define UIT_EMP_DATA_DATANODE_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/datastructs/QueueCache.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP
#define UIT_EMP_DATASTRUCTS_QUEUECACHE_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/datastructs/hash_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP
#define UIT_EMP_DATASTRUCTS_HASH_UTILS_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/datastructs/tuple_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP
#define UIT_EMP_DATASTRUCTS_TUPLE_UTILS_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/io/ContiguousStream.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_IO_CONTIGUOUSSTREAM_HPP
#define UIT_EMP_IO_CONTIGUOUSSTREAM_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/io/MemoryIStream.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_IO_MEMORYISTREAM_HPP
#define UIT_EMP_IO_MEMORYISTREAM_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/math/Random.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_MATH_RANDOM_HPP
#define UIT_EMP_MATH_RANDOM_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/math/math.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_MATH_MATH_HPP
#define UIT_EMP_MATH_MATH_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/math/random_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_MATH_RANDOM_UTILS_HPP
#define UIT_EMP_MATH_RANDOM_UTILS_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/meta/TypePack.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_META_TYPEPACK_HPP
#define UIT_EMP_META_TYPEPACK_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/meta/meta.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_META_META_HPP
#define UIT_EMP_META_META_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/polyfill/span.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_POLYFILL_SPAN_HPP
#define UIT_EMP_POLYFILL_SPAN_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/tools/keyname_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_TOOLS_KEYNAME_UTILS_HPP
#define UIT_EMP_TOOLS_KEYNAME_UTILS_HPP

Expand Down
1 change: 1 addition & 0 deletions include/uit_emp/tools/string_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma once
#ifndef UIT_EMP_TOOLS_STRING_UTILS_HPP
#define UIT_EMP_TOOLS_STRING_UTILS_HPP

Expand Down

0 comments on commit 7e3d2be

Please sign in to comment.