diff --git a/src/arm64/bitmanipulation.h b/src/arm64/bitmanipulation.h index 727ef7456..6cfb43225 100644 --- a/src/arm64/bitmanipulation.h +++ b/src/arm64/bitmanipulation.h @@ -56,6 +56,6 @@ really_inline bool add_overflow(uint64_t value1, uint64_t value2, uint64_t *resu } } // namespace arm64 -} // namespace { +} // unnamed namespace #endif // SIMDJSON_ARM64_BITMANIPULATION_H diff --git a/src/arm64/dom_parser_implementation.cpp b/src/arm64/dom_parser_implementation.cpp index 678e99bc3..f06a011e6 100644 --- a/src/arm64/dom_parser_implementation.cpp +++ b/src/arm64/dom_parser_implementation.cpp @@ -99,7 +99,7 @@ really_inline simd8 must_be_2_3_continuation(const simd8 prev2, c } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "generic/stage1/utf8_lookup4_algorithm.h" #include "generic/stage1/json_structural_indexer.h" @@ -167,6 +167,6 @@ WARN_UNUSED error_code dom_parser_implementation::parse(const uint8_t *_buf, siz } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "arm64/end_implementation.h" diff --git a/src/arm64/implementation.cpp b/src/arm64/implementation.cpp index 93a79ec63..5afc95556 100644 --- a/src/arm64/implementation.cpp +++ b/src/arm64/implementation.cpp @@ -17,6 +17,6 @@ WARN_UNUSED error_code implementation::create_dom_parser_implementation( } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "arm64/end_implementation.h" \ No newline at end of file diff --git a/src/arm64/implementation.h b/src/arm64/implementation.h index 2b98e30fe..c16be7396 100644 --- a/src/arm64/implementation.h +++ b/src/arm64/implementation.h @@ -23,6 +23,6 @@ public: }; } // namespace arm64 -} // namespace { +} // unnamed namespace #endif // SIMDJSON_ARM64_IMPLEMENTATION_H diff --git a/src/arm64/numberparsing.h b/src/arm64/numberparsing.h index 6783ad27a..4521ee1a3 100644 --- a/src/arm64/numberparsing.h +++ b/src/arm64/numberparsing.h @@ -15,7 +15,7 @@ static really_inline uint32_t parse_eight_digits_unrolled(const uint8_t *chars) } } // namespace arm64 -} // namespace { +} // unnamed namespace #define SWAR_NUMBER_PARSING diff --git a/src/arm64/simd.h b/src/arm64/simd.h index 551ebeec8..02f7be238 100644 --- a/src/arm64/simd.h +++ b/src/arm64/simd.h @@ -495,6 +495,6 @@ really_inline int8x16_t make_int8x16_t(int8_t x1, int8_t x2, int8_t x3, int8_ } // namespace simd } // namespace arm64 -} // namespace { +} // unnamed namespace #endif // SIMDJSON_ARM64_SIMD_H diff --git a/src/arm64/stringparsing.h b/src/arm64/stringparsing.h index 3890e6697..4dbda750b 100644 --- a/src/arm64/stringparsing.h +++ b/src/arm64/stringparsing.h @@ -44,7 +44,7 @@ really_inline backslash_and_quote backslash_and_quote::copy_and_find(const uint8 } } // namespace arm64 -} // namespace { +} // unnamed namespace #include "generic/stage2/stringparsing.h" diff --git a/src/fallback/bitmanipulation.h b/src/fallback/bitmanipulation.h index ad6c0749c..a68a8768b 100644 --- a/src/fallback/bitmanipulation.h +++ b/src/fallback/bitmanipulation.h @@ -40,6 +40,6 @@ really_inline int leading_zeroes(uint64_t input_num) { } } // namespace fallback -} // namespace { +} // unnamed namespace #endif // SIMDJSON_FALLBACK_BITMANIPULATION_H diff --git a/src/fallback/dom_parser_implementation.cpp b/src/fallback/dom_parser_implementation.cpp index 0c4a59478..50229717c 100644 --- a/src/fallback/dom_parser_implementation.cpp +++ b/src/fallback/dom_parser_implementation.cpp @@ -308,7 +308,7 @@ WARN_UNUSED bool implementation::validate_utf8(const char *buf, size_t len) cons } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace // // Stage 2 @@ -344,6 +344,6 @@ WARN_UNUSED error_code dom_parser_implementation::parse(const uint8_t *_buf, siz } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "fallback/end_implementation.h" \ No newline at end of file diff --git a/src/fallback/implementation.cpp b/src/fallback/implementation.cpp index d4c6e8318..fbb7274fb 100644 --- a/src/fallback/implementation.cpp +++ b/src/fallback/implementation.cpp @@ -17,6 +17,6 @@ WARN_UNUSED error_code implementation::create_dom_parser_implementation( } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "fallback/end_implementation.h" \ No newline at end of file diff --git a/src/fallback/implementation.h b/src/fallback/implementation.h index fe6005328..70ba4373c 100644 --- a/src/fallback/implementation.h +++ b/src/fallback/implementation.h @@ -27,6 +27,6 @@ public: }; } // namespace fallback -} // namespace { +} // unnamed namespace #endif // SIMDJSON_FALLBACK_IMPLEMENTATION_H \ No newline at end of file diff --git a/src/fallback/numberparsing.h b/src/fallback/numberparsing.h index bf87bb947..c7c31fc5e 100644 --- a/src/fallback/numberparsing.h +++ b/src/fallback/numberparsing.h @@ -22,7 +22,7 @@ static really_inline uint32_t parse_eight_digits_unrolled(const uint8_t *chars) } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #define SWAR_NUMBER_PARSING #include "generic/stage2/numberparsing.h" diff --git a/src/fallback/stringparsing.h b/src/fallback/stringparsing.h index eb45dd409..a362e5fc9 100644 --- a/src/fallback/stringparsing.h +++ b/src/fallback/stringparsing.h @@ -27,7 +27,7 @@ really_inline backslash_and_quote backslash_and_quote::copy_and_find(const uint8 } } // namespace fallback -} // namespace { +} // unnamed namespace #include "generic/stage2/stringparsing.h" diff --git a/src/generic/dom_parser_implementation.h b/src/generic/dom_parser_implementation.h index 0c6c2680f..257c071ea 100644 --- a/src/generic/dom_parser_implementation.h +++ b/src/generic/dom_parser_implementation.h @@ -45,7 +45,7 @@ public: }; } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "generic/stage1/allocate.h" #include "generic/stage2/allocate.h" @@ -71,4 +71,4 @@ WARN_UNUSED error_code dom_parser_implementation::set_max_depth(size_t max_depth } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/allocate.h b/src/generic/stage1/allocate.h index f145e95d7..8cec672cb 100644 --- a/src/generic/stage1/allocate.h +++ b/src/generic/stage1/allocate.h @@ -18,4 +18,4 @@ really_inline error_code set_capacity(internal::dom_parser_implementation &parse } // namespace allocate } // namespace stage1 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/buf_block_reader.h b/src/generic/stage1/buf_block_reader.h index d1dc57e18..e5ff5bb3f 100644 --- a/src/generic/stage1/buf_block_reader.h +++ b/src/generic/stage1/buf_block_reader.h @@ -86,4 +86,4 @@ really_inline void buf_block_reader::advance() { } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/find_next_document_index.h b/src/generic/stage1/find_next_document_index.h index 176a76a51..1856429cc 100644 --- a/src/generic/stage1/find_next_document_index.h +++ b/src/generic/stage1/find_next_document_index.h @@ -68,4 +68,4 @@ really_inline uint32_t find_next_document_index(dom_parser_implementation &parse } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/json_minifier.h b/src/generic/stage1/json_minifier.h index 766ef6ef2..117ec051a 100644 --- a/src/generic/stage1/json_minifier.h +++ b/src/generic/stage1/json_minifier.h @@ -78,4 +78,4 @@ error_code json_minifier::minify(const uint8_t *buf, size_t len, uint8_t *dst, s } // namespace stage1 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/json_scanner.h b/src/generic/stage1/json_scanner.h index 3338ab135..0d6e68f01 100644 --- a/src/generic/stage1/json_scanner.h +++ b/src/generic/stage1/json_scanner.h @@ -92,4 +92,4 @@ really_inline error_code json_scanner::finish(bool streaming) { } // namespace stage1 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/json_string_scanner.h b/src/generic/stage1/json_string_scanner.h index 4c22507ab..dd9ac5306 100644 --- a/src/generic/stage1/json_string_scanner.h +++ b/src/generic/stage1/json_string_scanner.h @@ -140,4 +140,4 @@ really_inline error_code json_string_scanner::finish(bool streaming) { } // namespace stage1 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/json_structural_indexer.h b/src/generic/stage1/json_structural_indexer.h index 0a4a2298b..6a463f477 100644 --- a/src/generic/stage1/json_structural_indexer.h +++ b/src/generic/stage1/json_structural_indexer.h @@ -226,4 +226,4 @@ really_inline error_code json_structural_indexer::finish(dom_parser_implementati } // namespace stage1 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/utf8_fastvalidate_algorithm.h b/src/generic/stage1/utf8_fastvalidate_algorithm.h index da526696c..bc6fdb62b 100644 --- a/src/generic/stage1/utf8_fastvalidate_algorithm.h +++ b/src/generic/stage1/utf8_fastvalidate_algorithm.h @@ -181,4 +181,4 @@ struct utf8_checker { }; // struct utf8_checker } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/utf8_lookup2_algorithm.h b/src/generic/stage1/utf8_lookup2_algorithm.h index 9c8a7e288..2dc4259fb 100644 --- a/src/generic/stage1/utf8_lookup2_algorithm.h +++ b/src/generic/stage1/utf8_lookup2_algorithm.h @@ -217,7 +217,7 @@ using namespace simd; }; // struct utf8_checker } // namespace utf8_validation -} // namespace { +} // unnamed namespace using utf8_validation::utf8_checker; diff --git a/src/generic/stage1/utf8_lookup3_algorithm.h b/src/generic/stage1/utf8_lookup3_algorithm.h index 5de0d062c..709c782d8 100644 --- a/src/generic/stage1/utf8_lookup3_algorithm.h +++ b/src/generic/stage1/utf8_lookup3_algorithm.h @@ -237,7 +237,7 @@ using namespace simd; }; // struct utf8_checker } // namespace utf8_validation -} // namespace { +} // unnamed namespace using utf8_validation::utf8_checker; diff --git a/src/generic/stage1/utf8_lookup4_algorithm.h b/src/generic/stage1/utf8_lookup4_algorithm.h index 3aec36a2b..ac6e4c762 100644 --- a/src/generic/stage1/utf8_lookup4_algorithm.h +++ b/src/generic/stage1/utf8_lookup4_algorithm.h @@ -178,4 +178,4 @@ using namespace simd; using utf8_validation::utf8_checker; } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/utf8_lookup_algorithm.h b/src/generic/stage1/utf8_lookup_algorithm.h index e6d735402..0da80136c 100644 --- a/src/generic/stage1/utf8_lookup_algorithm.h +++ b/src/generic/stage1/utf8_lookup_algorithm.h @@ -300,4 +300,4 @@ struct utf8_checker { } // namespace utf8_validation } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/utf8_range_algorithm.h b/src/generic/stage1/utf8_range_algorithm.h index 05163a261..d418a93b2 100644 --- a/src/generic/stage1/utf8_range_algorithm.h +++ b/src/generic/stage1/utf8_range_algorithm.h @@ -183,4 +183,4 @@ struct utf8_checker { }; // struct utf8_checker } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/utf8_validator.h b/src/generic/stage1/utf8_validator.h index 49c9dbc77..83e1679a2 100644 --- a/src/generic/stage1/utf8_validator.h +++ b/src/generic/stage1/utf8_validator.h @@ -28,4 +28,4 @@ bool generic_validate_utf8(const char * input, size_t length) { } // namespace stage1 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage1/utf8_zwegner_algorithm.h b/src/generic/stage1/utf8_zwegner_algorithm.h index 91743351b..7805bbf9b 100644 --- a/src/generic/stage1/utf8_zwegner_algorithm.h +++ b/src/generic/stage1/utf8_zwegner_algorithm.h @@ -362,4 +362,4 @@ struct utf8_checker { }; // struct utf8_checker } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/allocate.h b/src/generic/stage2/allocate.h index dbfde3c47..e4de6e3fe 100644 --- a/src/generic/stage2/allocate.h +++ b/src/generic/stage2/allocate.h @@ -19,4 +19,4 @@ really_inline error_code set_max_depth(dom_parser_implementation &parser, size_t } // namespace allocate } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/atomparsing.h b/src/generic/stage2/atomparsing.h index e993c7caa..ce18f12c8 100644 --- a/src/generic/stage2/atomparsing.h +++ b/src/generic/stage2/atomparsing.h @@ -61,4 +61,4 @@ really_inline bool is_valid_null_atom(const uint8_t *src, size_t len) { } // namespace atomparsing } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/jsoncharutils.h b/src/generic/stage2/jsoncharutils.h index 1c0419ee6..7fa33f5e9 100644 --- a/src/generic/stage2/jsoncharutils.h +++ b/src/generic/stage2/jsoncharutils.h @@ -106,4 +106,4 @@ really_inline value128 full_multiplication(uint64_t value1, uint64_t value2) { } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/logger.h b/src/generic/stage2/logger.h index a6584cb3a..c8edd6d46 100644 --- a/src/generic/stage2/logger.h +++ b/src/generic/stage2/logger.h @@ -66,4 +66,4 @@ namespace logger { } // namespace logger } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/numberparsing.h b/src/generic/stage2/numberparsing.h index 920c2b9d6..4524aac1c 100644 --- a/src/generic/stage2/numberparsing.h +++ b/src/generic/stage2/numberparsing.h @@ -505,4 +505,4 @@ really_inline bool parse_number(const uint8_t *const src, W &writer) { } // namespace numberparsing } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/stringparsing.h b/src/generic/stage2/stringparsing.h index f11103df0..6701d72e1 100644 --- a/src/generic/stage2/stringparsing.h +++ b/src/generic/stage2/stringparsing.h @@ -122,4 +122,4 @@ WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *src, uint8_t *dst } // namespace stringparsing } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/structural_iterator.h b/src/generic/stage2/structural_iterator.h index 2871a93ed..6e102c054 100644 --- a/src/generic/stage2/structural_iterator.h +++ b/src/generic/stage2/structural_iterator.h @@ -47,4 +47,4 @@ public: } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/structural_parser.h b/src/generic/stage2/structural_parser.h index 0a715b8f5..18ad47dbb 100644 --- a/src/generic/stage2/structural_parser.h +++ b/src/generic/stage2/structural_parser.h @@ -440,4 +440,4 @@ error: } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/generic/stage2/tape_writer.h b/src/generic/stage2/tape_writer.h index 3a44f0477..2aa71c42e 100644 --- a/src/generic/stage2/tape_writer.h +++ b/src/generic/stage2/tape_writer.h @@ -100,4 +100,4 @@ really_inline void tape_writer::write(uint64_t &tape_loc, uint64_t val, internal } // namespace stage2 } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace diff --git a/src/haswell/bitmanipulation.h b/src/haswell/bitmanipulation.h index dc032b360..126b471da 100644 --- a/src/haswell/bitmanipulation.h +++ b/src/haswell/bitmanipulation.h @@ -54,6 +54,6 @@ really_inline bool add_overflow(uint64_t value1, uint64_t value2, } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #endif // SIMDJSON_HASWELL_BITMANIPULATION_H diff --git a/src/haswell/bitmask.h b/src/haswell/bitmask.h index a2702e232..ef99f1606 100644 --- a/src/haswell/bitmask.h +++ b/src/haswell/bitmask.h @@ -18,6 +18,6 @@ really_inline uint64_t prefix_xor(const uint64_t bitmask) { } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #endif // SIMDJSON_HASWELL_BITMASK_H diff --git a/src/haswell/dom_parser_implementation.cpp b/src/haswell/dom_parser_implementation.cpp index 39cafef1e..a22c90e4d 100644 --- a/src/haswell/dom_parser_implementation.cpp +++ b/src/haswell/dom_parser_implementation.cpp @@ -65,7 +65,7 @@ really_inline simd8 must_be_2_3_continuation(const simd8 prev2, c } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "generic/stage1/utf8_lookup4_algorithm.h" #include "generic/stage1/json_structural_indexer.h" @@ -130,6 +130,6 @@ WARN_UNUSED error_code dom_parser_implementation::parse(const uint8_t *_buf, siz } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "haswell/end_implementation.h" diff --git a/src/haswell/implementation.cpp b/src/haswell/implementation.cpp index 8c70b81c7..cde9d63af 100644 --- a/src/haswell/implementation.cpp +++ b/src/haswell/implementation.cpp @@ -17,7 +17,7 @@ WARN_UNUSED error_code implementation::create_dom_parser_implementation( } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "haswell/end_implementation.h" diff --git a/src/haswell/implementation.h b/src/haswell/implementation.h index 45ea9908a..ea09b29d7 100644 --- a/src/haswell/implementation.h +++ b/src/haswell/implementation.h @@ -27,6 +27,6 @@ public: }; } // namespace haswell -} // namespace { +} // unnamed namespace #endif // SIMDJSON_HASWELL_IMPLEMENTATION_H \ No newline at end of file diff --git a/src/haswell/numberparsing.h b/src/haswell/numberparsing.h index 08d0a5c14..247dcc8a0 100644 --- a/src/haswell/numberparsing.h +++ b/src/haswell/numberparsing.h @@ -23,7 +23,7 @@ static really_inline uint32_t parse_eight_digits_unrolled(const uint8_t *chars) } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #define SWAR_NUMBER_PARSING diff --git a/src/haswell/simd.h b/src/haswell/simd.h index 183c4b124..4ec897c34 100644 --- a/src/haswell/simd.h +++ b/src/haswell/simd.h @@ -349,6 +349,6 @@ namespace simd { } // namespace simd } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #endif // SIMDJSON_HASWELL_SIMD_H diff --git a/src/haswell/stringparsing.h b/src/haswell/stringparsing.h index 8d7f95622..e96aceb4d 100644 --- a/src/haswell/stringparsing.h +++ b/src/haswell/stringparsing.h @@ -39,7 +39,7 @@ really_inline backslash_and_quote backslash_and_quote::copy_and_find(const uint8 } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "generic/stage2/stringparsing.h" diff --git a/src/westmere/bitmanipulation.h b/src/westmere/bitmanipulation.h index 63e12691c..ebb57e477 100644 --- a/src/westmere/bitmanipulation.h +++ b/src/westmere/bitmanipulation.h @@ -63,6 +63,6 @@ really_inline bool add_overflow(uint64_t value1, uint64_t value2, } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #endif // SIMDJSON_WESTMERE_BITMANIPULATION_H diff --git a/src/westmere/bitmask.h b/src/westmere/bitmask.h index ad397357c..5db9d6808 100644 --- a/src/westmere/bitmask.h +++ b/src/westmere/bitmask.h @@ -18,6 +18,6 @@ really_inline uint64_t prefix_xor(const uint64_t bitmask) { } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #endif // SIMDJSON_WESTMERE_BITMASK_H diff --git a/src/westmere/dom_parser_implementation.cpp b/src/westmere/dom_parser_implementation.cpp index f15f67234..4f8bac8a5 100644 --- a/src/westmere/dom_parser_implementation.cpp +++ b/src/westmere/dom_parser_implementation.cpp @@ -70,7 +70,7 @@ really_inline simd8 must_be_2_3_continuation(const simd8 prev2, c } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "generic/stage1/utf8_lookup4_algorithm.h" #include "generic/stage1/json_structural_indexer.h" @@ -136,6 +136,6 @@ WARN_UNUSED error_code dom_parser_implementation::parse(const uint8_t *_buf, siz } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "westmere/end_implementation.h" diff --git a/src/westmere/implementation.cpp b/src/westmere/implementation.cpp index a58e676af..95530b7f5 100644 --- a/src/westmere/implementation.cpp +++ b/src/westmere/implementation.cpp @@ -17,6 +17,6 @@ WARN_UNUSED error_code implementation::create_dom_parser_implementation( } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "westmere/end_implementation.h" \ No newline at end of file diff --git a/src/westmere/implementation.h b/src/westmere/implementation.h index c16922b93..13c6677d6 100644 --- a/src/westmere/implementation.h +++ b/src/westmere/implementation.h @@ -25,6 +25,6 @@ public: }; } // namespace westmere -} // namespace { +} // unnamed namespace #endif // SIMDJSON_WESTMERE_IMPLEMENTATION_H \ No newline at end of file diff --git a/src/westmere/numberparsing.h b/src/westmere/numberparsing.h index 681a079e2..7a91c3922 100644 --- a/src/westmere/numberparsing.h +++ b/src/westmere/numberparsing.h @@ -23,7 +23,7 @@ static really_inline uint32_t parse_eight_digits_unrolled(const uint8_t *chars) } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #define SWAR_NUMBER_PARSING diff --git a/src/westmere/simd.h b/src/westmere/simd.h index 9f328c675..ec974de32 100644 --- a/src/westmere/simd.h +++ b/src/westmere/simd.h @@ -328,6 +328,6 @@ namespace simd { } // namespace simd } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #endif // SIMDJSON_WESTMERE_SIMD_INPUT_H diff --git a/src/westmere/stringparsing.h b/src/westmere/stringparsing.h index a0e8900ae..5c4a652f8 100644 --- a/src/westmere/stringparsing.h +++ b/src/westmere/stringparsing.h @@ -37,7 +37,7 @@ really_inline backslash_and_quote backslash_and_quote::copy_and_find(const uint8 } } // namespace SIMDJSON_IMPLEMENTATION -} // namespace { +} // unnamed namespace #include "generic/stage2/stringparsing.h"