Skip to content

Commit 239ec62

Browse files
authored
Merge pull request #63976 from apple/QuietMisdreavus/objc-header-typo
fix typo in SWIFT_DEPRECATED_OBJC
2 parents e7ad1f4 + 59b3f11 commit 239ec62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/PrintAsClang/ClangMacros.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ CLANG_MACRO("SWIFT_DEPRECATED", , "__attribute__((deprecated))")
197197
CLANG_MACRO("SWIFT_DEPRECATED_MSG", "(...)", "__attribute__((deprecated(__VA_ARGS__)))")
198198

199199
CLANG_MACRO_ALTERNATIVE("SWIFT_DEPRECATED_OBJC", "(Msg)", \
200-
"__has_feature(attribute_diagnost_if_objc)", \
200+
"__has_feature(attribute_diagnose_if_objc)", \
201201
"__attribute__((diagnose_if(1, Msg, \"warning\")))", \
202202
"SWIFT_DEPRECATED_MSG(Msg)")
203203

0 commit comments

Comments
 (0)