1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add patch missed in r364981.

No version bump as clang won't compile without this change.
This commit is contained in:
Brooks Davis 2014-08-15 15:42:35 +00:00
parent eda9b0a29d
commit 0eee75617e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364982

View File

@ -0,0 +1,23 @@
$FreeBSD$
--- tools/clang/lib/Analysis/FormatString.cpp.orig
+++ tools/clang/lib/Analysis/FormatString.cpp
@@ -550,6 +550,9 @@
// GlibC specific specifiers.
case PrintErrno: return "m";
+
+ // FreeBSD specfic specifiers.
+ case bArg: return "b";
}
return nullptr;
}
@@ -778,6 +781,7 @@
case ConversionSpecifier::DArg:
case ConversionSpecifier::OArg:
case ConversionSpecifier::UArg:
+ case ConversionSpecifier::bArg:
return false;
}
llvm_unreachable("Invalid ConversionSpecifier Kind!");