Skip to content

Commit

Permalink
remove unneeded pragmas
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Jan 2, 2024
1 parent 7fd2c70 commit 2f59792
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'stdexex'
project = 'stdexec'
copyright = '2023, NVIDIA Corporation'
author = 'NVIDIA Corporation'
release = 'dev'
Expand Down
1 change: 0 additions & 1 deletion include/exec/task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
#include "scope.hpp"

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wundefined-inline")

namespace exec {
Expand Down
2 changes: 0 additions & 2 deletions include/stdexec/execution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
#include "stop_token.hpp"

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunknown-warning-option")
STDEXEC_PRAGMA_IGNORE_GNU("-Wundefined-inline")
STDEXEC_PRAGMA_IGNORE_GNU("-Wsubobject-linkage")
STDEXEC_PRAGMA_IGNORE_GNU("-Wmissing-braces")
Expand Down
1 change: 0 additions & 1 deletion test/exec/sequence/test_any_sequence_of.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <catch2/catch.hpp>

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")

namespace {
Expand Down
1 change: 0 additions & 1 deletion test/stdexec/algos/adaptors/test_on.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ namespace ex = stdexec;
using namespace std::chrono_literals;

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunneeded-internal-declaration")

Expand Down
1 change: 0 additions & 1 deletion test/stdexec/algos/consumers/test_start_detached.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace ex = stdexec;
using namespace std::chrono_literals;

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunneeded-internal-declaration")

Expand Down
1 change: 0 additions & 1 deletion test/stdexec/concepts/test_awaitables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ namespace {
};

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wundefined-internal")

template <typename Awaiter>
Expand Down
1 change: 0 additions & 1 deletion test/stdexec/concepts/test_concept_operation_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ namespace ex = stdexec;
namespace {

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunneeded-internal-declaration")

Expand Down
1 change: 0 additions & 1 deletion test/stdexec/concepts/test_concept_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
namespace ex = stdexec;

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunneeded-internal-declaration")

Expand Down
1 change: 0 additions & 1 deletion test/stdexec/concepts/test_concepts_sender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
namespace ex = stdexec;

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunneeded-internal-declaration")

Expand Down
1 change: 0 additions & 1 deletion test/stdexec/cpos/test_cpo_connect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
namespace ex = stdexec;

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunneeded-internal-declaration")

Expand Down
1 change: 0 additions & 1 deletion test/stdexec/cpos/test_cpo_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
namespace ex = stdexec;

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")

namespace {
Expand Down
1 change: 0 additions & 1 deletion test/stdexec/cpos/test_cpo_schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
namespace ex = stdexec;

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")

namespace {
Expand Down
1 change: 0 additions & 1 deletion test/stdexec/cpos/test_cpo_start.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ namespace {
};

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")

struct op_rvalref : immovable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <test_common/schedulers.hpp>

STDEXEC_PRAGMA_PUSH()
STDEXEC_PRAGMA_IGNORE_GNU("-Wpragmas")
STDEXEC_PRAGMA_IGNORE_GNU("-Wunused-function")

namespace ex = stdexec;
Expand Down

0 comments on commit 2f59792

Please sign in to comment.