Skip to content

Commit

Permalink
Apply new sim_cpp11_features with clang-format markup (#5160)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMGiroux authored and GitHub Enterprise committed Jan 13, 2025
1 parent 5f39e69 commit 28f7de0
Show file tree
Hide file tree
Showing 49 changed files with 245 additions and 49 deletions.
6 changes: 5 additions & 1 deletion groups/bdl/bdlb/bdlb_nullableallocatedvalue.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,16 @@ BSLS_IDENT("$Id: $")
#include <stddef.h> // NULL

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Fri Aug 18 08:37:40 2023
// Generated on Mon Jan 13 08:32:07 2025
// Command line: sim_cpp11_features.pl bdlb_nullableallocatedvalue.h

# define COMPILING_BDLB_NULLABLEALLOCATEDVALUE_H
# include <bdlb_nullableallocatedvalue_cpp03.h>
# undef COMPILING_BDLB_NULLABLEALLOCATEDVALUE_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlb/bdlb_nullablevalue.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,16 @@ BSLS_IDENT("$Id: $")
#endif // BDE_DONT_ALLOW_TRANSITIVE_INCLUDES

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Oct 21 10:11:37 2021
// Generated on Mon Jan 13 08:32:07 2025
// Command line: sim_cpp11_features.pl bdlb_nullablevalue.h

# define COMPILING_BDLB_NULLABLEVALUE_H
# include <bdlb_nullablevalue_cpp03.h>
# undef COMPILING_BDLB_NULLABLEVALUE_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlb/bdlb_nullablevalueref.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,16 @@ BSLS_IDENT("$Id: $")
#include <bslstl_optional.h> // bsl::optional, bsl::nullopt_t

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Fri Sep 15 15:38:58 2023
// Generated on Mon Jan 13 08:32:07 2025
// Command line: sim_cpp11_features.pl bdlb_nullablevalueref.h

# define COMPILING_BDLB_NULLABLEVALUEREF_H
# include <bdlb_nullablevalueref_cpp03.h>
# undef COMPILING_BDLB_NULLABLEVALUEREF_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlb/bdlb_variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -654,12 +654,16 @@ BSLS_IDENT("$Id: $")
#endif // BDE_OMIT_INTERNAL_DEPRECATED

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Fri Jul 14 13:20:25 2023
// Generated on Mon Jan 13 08:32:07 2025
// Command line: sim_cpp11_features.pl bdlb_variant.h

# define COMPILING_BDLB_VARIANT_H
# include <bdlb_variant_cpp03.h>
# undef COMPILING_BDLB_VARIANT_H

// clang-format on
#else

#if defined(BSLS_COMPILERFEATURES_SUPPORT_VARIADIC_TEMPLATES) \
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlc/bdlc_flathashmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,16 @@ BSLS_IDENT("$Id: $")
#include <bsl_utility.h>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Dec 5 18:14:12 2024
// Generated on Mon Jan 13 08:32:17 2025
// Command line: sim_cpp11_features.pl bdlc_flathashmap.h

# define COMPILING_BDLC_FLATHASHMAP_H
# include <bdlc_flathashmap_cpp03.h>
# undef COMPILING_BDLC_FLATHASHMAP_H

// clang-format on
#else

#if defined(BSLS_COMPILERFEATURES_SUPPORT_TRAITS_HEADER)
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlc/bdlc_flathashset.h
Original file line number Diff line number Diff line change
Expand Up @@ -430,12 +430,16 @@ BSLS_IDENT("$Id: $")
#include <bsl_utility.h>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Dec 5 18:14:12 2024
// Generated on Mon Jan 13 08:32:17 2025
// Command line: sim_cpp11_features.pl bdlc_flathashset.h

# define COMPILING_BDLC_FLATHASHSET_H
# include <bdlc_flathashset_cpp03.h>
# undef COMPILING_BDLC_FLATHASHSET_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlc/bdlc_flathashtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,16 @@ BSLS_IDENT("$Id: $")
#include <bsl_utility.h>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Dec 5 18:14:12 2024
// Generated on Mon Jan 13 08:32:17 2025
// Command line: sim_cpp11_features.pl bdlc_flathashtable.h

# define COMPILING_BDLC_FLATHASHTABLE_H
# include <bdlc_flathashtable_cpp03.h>
# undef COMPILING_BDLC_FLATHASHTABLE_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlf/bdlf_noop.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,16 @@ BSLS_IDENT("$Id: $")
#include <bsls_keyword.h>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Wed Apr 12 13:24:41 2023
// Generated on Mon Jan 13 08:32:04 2025
// Command line: sim_cpp11_features.pl bdlf_noop.h

# define COMPILING_BDLF_NOOP_H
# include <bdlf_noop_cpp03.h>
# undef COMPILING_BDLF_NOOP_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bdl/bdlma/bdlma_localbufferedobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,16 @@ BSLS_IDENT("$Id: $")
#include <bsl_utility.h>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Fri Apr 5 12:00:49 2024
// Generated on Mon Jan 13 08:32:13 2025
// Command line: sim_cpp11_features.pl bdlma_localbufferedobject.h

# define COMPILING_BDLMA_LOCALBUFFEREDOBJECT_H
# include <bdlma_localbufferedobject_cpp03.h>
# undef COMPILING_BDLMA_LOCALBUFFEREDOBJECT_H

// clang-format on
#else

#ifdef BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslalg/bslalg_arrayprimitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,16 @@ BSLS_IDENT("$Id$ $CSID$")
#endif

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Oct 21 10:11:37 2021
// Generated on Mon Jan 13 08:31:35 2025
// Command line: sim_cpp11_features.pl bslalg_arrayprimitives.h

# define COMPILING_BSLALG_ARRAYPRIMITIVES_H
# include <bslalg_arrayprimitives_cpp03.h>
# undef COMPILING_BSLALG_ARRAYPRIMITIVES_H

// clang-format on
#else

#if defined(BSLS_PLATFORM_CMP_IBM) // IBM needs specific workarounds.
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslalg/bslalg_dequeprimitives.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,16 @@ BSLS_IDENT("$Id: $")
#include <cstring> // memmove

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Oct 21 10:11:37 2021
// Generated on Mon Jan 13 08:31:35 2025
// Command line: sim_cpp11_features.pl bslalg_dequeprimitives.h

# define COMPILING_BSLALG_DEQUEPRIMITIVES_H
# include <bslalg_dequeprimitives_cpp03.h>
# undef COMPILING_BSLALG_DEQUEPRIMITIVES_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslma/bslma_allocatortraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,16 @@ BSLS_IDENT("$Id: $")
#include <bsls_util.h> // 'forward<T>(V)'

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Fri May 13 11:05:19 2022
// Generated on Mon Jan 13 08:31:27 2025
// Command line: sim_cpp11_features.pl bslma_allocatortraits.h

# define COMPILING_BSLMA_ALLOCATORTRAITS_H
# include <bslma_allocatortraits_cpp03.h>
# undef COMPILING_BSLMA_ALLOCATORTRAITS_H

// clang-format on
#else

#include <limits>
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslma/bslma_allocatorutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,16 @@ BSLS_IDENT("$Id: $")
#include <algorithm> // 'std::swap'

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Sat Jul 23 20:07:37 2022
// Generated on Mon Jan 13 08:31:27 2025
// Command line: sim_cpp11_features.pl bslma_allocatorutil.h

# define COMPILING_BSLMA_ALLOCATORUTIL_H
# include <bslma_allocatorutil_cpp03.h>
# undef COMPILING_BSLMA_ALLOCATORUTIL_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslma/bslma_bslallocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,16 @@ BSLS_IDENT("$Id: $")
#include <cstddef>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Fri May 13 11:05:19 2022
// Generated on Mon Jan 13 08:31:27 2025
// Command line: sim_cpp11_features.pl bslma_bslallocator.h

# define COMPILING_BSLMA_BSLALLOCATOR_H
# include <bslma_bslallocator_cpp03.h>
# undef COMPILING_BSLMA_BSLALLOCATOR_H

// clang-format on
#else

#define BSLMA_BSLALLOCATOR_DEPRECATE_ASSIGN \
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslma/bslma_constructionutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,16 @@ BSLS_IDENT("$Id: $")
#include <new> // placement 'new'

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Tue Oct 4 14:49:46 2022
// Generated on Mon Jan 13 08:31:27 2025
// Command line: sim_cpp11_features.pl bslma_constructionutil.h

# define COMPILING_BSLMA_CONSTRUCTIONUTIL_H
# include <bslma_constructionutil_cpp03.h>
# undef COMPILING_BSLMA_CONSTRUCTIONUTIL_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslma/bslma_managedptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -987,12 +987,16 @@ BSLS_IDENT("$Id$ $CSID$")
#include <bsls_util.h> // 'forward<T>(V)'

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Oct 21 10:11:37 2021
// Generated on Mon Jan 13 08:31:27 2025
// Command line: sim_cpp11_features.pl bslma_managedptr.h

# define COMPILING_BSLMA_MANAGEDPTR_H
# include <bslma_managedptr_cpp03.h>
# undef COMPILING_BSLMA_MANAGEDPTR_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslma/bslma_polymorphicallocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,16 @@ BSLS_IDENT("$Id: $")
#include <bsls_util.h> // 'forward<T>(V)', `Util::addressOf`

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Wed Aug 30 14:35:39 2023
// Generated on Mon Jan 13 08:31:27 2025
// Command line: sim_cpp11_features.pl bslma_polymorphicallocator.h

# define COMPILING_BSLMA_POLYMORPHICALLOCATOR_H
# include <bslma_polymorphicallocator_cpp03.h>
# undef COMPILING_BSLMA_POLYMORPHICALLOCATOR_H

// clang-format on
#else

#ifdef BSLS_LIBRARYFEATURES_HAS_CPP17_PMR
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslma/bslma_sharedptrinplacerep.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,16 @@ BSLS_IDENT("$Id$ $CSID$")
#include <typeinfo>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Oct 21 10:11:37 2021
// Generated on Mon Jan 13 08:31:27 2025
// Command line: sim_cpp11_features.pl bslma_sharedptrinplacerep.h

# define COMPILING_BSLMA_SHAREDPTRINPLACEREP_H
# include <bslma_sharedptrinplacerep_cpp03.h>
# undef COMPILING_BSLMA_SHAREDPTRINPLACEREP_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslmf/bslmf_conjunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ BSLS_IDENT("$Id: $")
#endif

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Tue Feb 20 12:10:48 2024
// Generated on Mon Jan 13 08:31:25 2025
// Command line: sim_cpp11_features.pl bslmf_conjunction.h

# define COMPILING_BSLMF_CONJUNCTION_H
# include <bslmf_conjunction_cpp03.h>
# undef COMPILING_BSLMF_CONJUNCTION_H

// clang-format on
#else

namespace bsl {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslmf/bslmf_disjunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ BSLS_IDENT("$Id: $")
#endif

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Wed Feb 21 06:28:04 2024
// Generated on Mon Jan 13 08:31:25 2025
// Command line: sim_cpp11_features.pl bslmf_disjunction.h

# define COMPILING_BSLMF_DISJUNCTION_H
# include <bslmf_disjunction_cpp03.h>
# undef COMPILING_BSLMF_DISJUNCTION_H

// clang-format on
#else

namespace bsl {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslmf/bslmf_functionpointertraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,16 @@ BSLS_IDENT("$Id: $")
#include <bsls_platform.h>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Oct 21 10:11:37 2021
// Generated on Mon Jan 13 08:31:25 2025
// Command line: sim_cpp11_features.pl bslmf_functionpointertraits.h

# define COMPILING_BSLMF_FUNCTIONPOINTERTRAITS_H
# include <bslmf_functionpointertraits_cpp03.h>
# undef COMPILING_BSLMF_FUNCTIONPOINTERTRAITS_H

// clang-format on
#else

namespace BloombergLP {
Expand Down
6 changes: 5 additions & 1 deletion groups/bsl/bslmf/bslmf_invokeresult.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,16 @@ BSLS_IDENT("$Id: $")
#include <bsls_platform.h>

#if BSLS_COMPILERFEATURES_SIMULATE_CPP11_FEATURES
// clang-format off
// Include version that can be compiled with C++03
// Generated on Thu Feb 16 18:08:36 2023
// Generated on Mon Jan 13 08:31:25 2025
// Command line: sim_cpp11_features.pl bslmf_invokeresult.h

# define COMPILING_BSLMF_INVOKERESULT_H
# include <bslmf_invokeresult_cpp03.h>
# undef COMPILING_BSLMF_INVOKERESULT_H

// clang-format on
#else

#if defined(BSLS_COMPILERFEATURES_SUPPORT_DECLTYPE) \
Expand Down
Loading

0 comments on commit 28f7de0

Please sign in to comment.