$OpenBSD: patch-lib_Sema_SemaDeclAttr_cpp,v 1.2 2018/05/09 22:27:41 bcallah Exp $

Index: lib/Sema/SemaDeclAttr.cpp
--- lib/Sema/SemaDeclAttr.cpp.orig
+++ lib/Sema/SemaDeclAttr.cpp
@@ -3206,6 +3206,7 @@ static FormatAttrKind getFormatAttrKind(StringRef Form
       .Case("freebsd_kprintf", SupportedFormat) // FreeBSD.
       .Case("os_trace", SupportedFormat)
       .Case("os_log", SupportedFormat)
+      .Case("syslog", SupportedFormat)
 
       .Cases("gcc_diag", "gcc_cdiag", "gcc_cxxdiag", "gcc_tdiag", IgnoredFormat)
       .Default(InvalidFormat);
