Skip to content

Commit 0d12285

Browse files
authored
Merge pull request #71711 from gottesmm/pr-61de03ca0f96056340596faedebae2193caeb4ac
Remove clang optimize off that snuck into tree.
2 parents 3fa7849 + 997413a commit 0d12285

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@
7676

7777
#define DEBUG_TYPE "Serialization"
7878

79-
#pragma clang optimize off
80-
8179
using namespace swift;
8280
using namespace swift::serialization;
8381
using namespace llvm::support;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This test runs a grep that validates that specific patterns do not occur in
2+
// the code base.
3+
4+
// The [c] is necessary to prevent substitutions by lit. Same difference since it
5+
// is just a regex.
6+
//
7+
// RUN: cd %swift_src_root && not git grep 'pragma [c]lang optimize off' include lib stdlib

0 commit comments

Comments
 (0)