Prefix COMPILER_IS_MSVC with SWIFT_

This commit is contained in:
Hugh Bellamy
2017-01-16 22:09:53 +00:00
parent 4dfa6389b0
commit 201ad5d594
8 changed files with 16 additions and 16 deletions

View File

@@ -152,7 +152,7 @@ public:
}
// Disable "only for use within the debugger" warning.
#if COMPILER_IS_MSVC
#if SWIFT_COMPILER_IS_MSVC
#pragma warning(push)
#pragma warning(disable: 4996)
#endif
@@ -177,7 +177,7 @@ public:
llvm_unreachable("unexpected AnyFunctionRef representation");
}
};
#if COMPILER_IS_MSVC
#if SWIFT_COMPILER_IS_MSVC
#pragma warning(pop)
#endif