[PATCH] D27165: Add format_dynamic_key_arg attribute to improve "-Wformat" warnings for functions that load the formatting string dynamically based on a key value

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 13 16:40:30 PDT 2019


erik.pilkington updated this revision to Diff 214977.
erik.pilkington added a comment.

Address review comments.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D27165/new/

https://reviews.llvm.org/D27165

Files:
  clang/include/clang/AST/FormatString.h
  clang/include/clang/Basic/IdentifierTable.h
  clang/lib/AST/PrintfFormatString.cpp
  clang/lib/Basic/IdentifierTable.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/SemaObjC/format-strings-objc.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27165.214977.patch
Type: text/x-patch
Size: 11962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190813/d4d021a8/attachment.bin>


More information about the cfe-commits mailing list