diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2014-08-15 15:42:35 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2014-08-15 15:42:35 +0000 |
commit | 0eee75617e076b3f13357e9de61895c97c1608c1 (patch) | |
tree | f4c3c954005507ed5e771e2d7f4c308e21812819 /lang | |
parent | eda9b0a29d553be7c339528f426a17789a66b870 (diff) | |
download | ports-0eee75617e076b3f13357e9de61895c97c1608c1.tar.gz ports-0eee75617e076b3f13357e9de61895c97c1608c1.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp b/lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp new file mode 100644 index 000000000000..141cb0f4c2b3 --- /dev/null +++ b/lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp @@ -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!"); |