Skip to content

Commit d24f086

Browse files
committed
cleanup: remove unrecognized clang ide diagnostic options
These are something CLion understands and suggests, but yeah let's avoid having warnings in the build.
1 parent 8637d18 commit d24f086

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ const char *__swift_runtime_env_useLegacyNonCrashingExecutorChecks() {
357357
#endif
358358
}
359359

360-
#pragma clang diagnostic push
361-
#pragma ide diagnostic ignored "ConstantConditionsOC"
362360
// Done this way because of the interaction with the initial value of
363361
// 'unexpectedExecutorLogLevel'
364362
bool swift_bincompat_useLegacyNonCrashingExecutorChecks() {
@@ -378,7 +376,6 @@ bool swift_bincompat_useLegacyNonCrashingExecutorChecks() {
378376

379377
return legacyMode;
380378
}
381-
#pragma clang diagnostic pop
382379

383380
// Check override of executor checking mode.
384381
static void checkIsCurrentExecutorMode(void *context) {

0 commit comments

Comments
 (0)