Page MenuHomeFreeBSD

D24786.diff
No OneTemporary

D24786.diff

Index: head/contrib/llvm-project/clang/lib/AST/PrintfFormatString.cpp
===================================================================
--- head/contrib/llvm-project/clang/lib/AST/PrintfFormatString.cpp
+++ head/contrib/llvm-project/clang/lib/AST/PrintfFormatString.cpp
@@ -316,8 +316,8 @@
case 'g': k = ConversionSpecifier::gArg; break;
case 'i': k = ConversionSpecifier::iArg; break;
case 'n':
- // Not handled, but reserved in OpenCL.
- if (!LO.OpenCL)
+ // Not handled, but reserved in OpenCL and FreeBSD kernel.
+ if (!LO.OpenCL && !isFreeBSDKPrintf)
k = ConversionSpecifier::nArg;
break;
case 'o': k = ConversionSpecifier::oArg; break;

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 5:19 AM (21 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14755212
Default Alt Text
D24786.diff (700 B)

Event Timeline