================
@@ -70,22 +70,31 @@ class OSLogFormatStringHandler
bool HandlePrintfSpecifier(const analyze_printf::PrintfSpecifier &FS,
const char *StartSpecifier, unsigned SpecifierLen,
const TargetInfo &) override {
+ // Set the argument expression. Arguments of struct/class/complex types are
+ // ignored.
----------------
apple-fcloutier wrote:
Is there any reason we can't diagnose this as an error? A priori, it seems no
one can be doing this right now because it crashes clang. The layout is going
to be super broken if we skip arguments.
https://github.com/llvm/llvm-project/pull/158744
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits