Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3dee12e

Browse files
committed
[pstl] Move to single underscore-capital for macros and include guards
Summary: Per the LLVM convention. Reviewers: rodgert Subscribers: jkorous, dexonsmith, jdoerfert, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D60521 llvm-svn: 358131
1 parent 0352f20 commit 3dee12e

63 files changed

Lines changed: 495 additions & 495 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pstl/include/pstl/algorithm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
#ifndef __PSTL_algorithm
11-
#define __PSTL_algorithm
10+
#ifndef _PSTL_ALGORITHM
11+
#define _PSTL_ALGORITHM
1212

1313
#include "internal/pstl_config.h"
1414

15-
#if __PSTL_EXECUTION_POLICIES_DEFINED
15+
#if _PSTL_EXECUTION_POLICIES_DEFINED
1616
// If <execution> has already been included, pull in implementations
1717
# include "internal/glue_algorithm_impl.h"
1818
#else
1919
// Otherwise just pull in forward declarations
2020
# include "internal/glue_algorithm_defs.h"
21-
# define __PSTL_ALGORITHM_FORWARD_DECLARED 1
21+
# define _PSTL_ALGORITHM_FORWARD_DECLARED 1
2222
#endif
2323

24-
#endif /* __PSTL_algorithm */
24+
#endif /* _PSTL_ALGORITHM */

pstl/include/pstl/execution

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
#ifndef __PSTL_execution
11-
#define __PSTL_execution
10+
#ifndef _PSTL_EXECUTION
11+
#define _PSTL_EXECUTION
1212

1313
#include "internal/pstl_config.h"
1414
#include "internal/execution_defs.h"
1515

16-
#define __PSTL_EXECUTION_POLICIES_DEFINED 1
16+
#define _PSTL_EXECUTION_POLICIES_DEFINED 1
1717

18-
#if __PSTL_ALGORITHM_FORWARD_DECLARED
18+
#if _PSTL_ALGORITHM_FORWARD_DECLARED
1919
# include "internal/glue_algorithm_impl.h"
2020
#endif
2121

22-
#if __PSTL_MEMORY_FORWARD_DECLARED
22+
#if _PSTL_MEMORY_FORWARD_DECLARED
2323
# include "internal/glue_memory_impl.h"
2424
#endif
2525

26-
#if __PSTL_NUMERIC_FORWARD_DECLARED
26+
#if _PSTL_NUMERIC_FORWARD_DECLARED
2727
# include "internal/glue_numeric_impl.h"
2828
#endif
2929

30-
#if __PSTL_CPP17_EXECUTION_POLICIES_PRESENT
31-
__PSTL_PRAGMA_MESSAGE_POLICIES("The <Parallel STL> execution policies are defined in the namespace __pstl::execution")
30+
#if _PSTL_CPP17_EXECUTION_POLICIES_PRESENT
31+
_PSTL_PRAGMA_MESSAGE_POLICIES("The <Parallel STL> execution policies are defined in the namespace __pstl::execution")
3232
#else
3333
# include "internal/glue_execution_defs.h"
34-
__PSTL_PRAGMA_MESSAGE_POLICIES(
34+
_PSTL_PRAGMA_MESSAGE_POLICIES(
3535
"The <Parallel STL> execution policies are injected into the standard namespace std::execution")
3636
#endif
3737

@@ -43,6 +43,6 @@ namespace execution
4343
{
4444
using namespace __pstl::execution;
4545
}
46-
}
46+
} // namespace pstl
4747

48-
#endif /* __PSTL_execution */
48+
#endif /* _PSTL_EXECUTION */

pstl/include/pstl/internal/algorithm_fwd.h

Lines changed: 55 additions & 55 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)