[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

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 09:59:55 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL368878: [Sema][ObjC] Fix a -Wformat false positive with localizedStringForKey (authored by epilk, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D27165?vs=214977&id=215150#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D27165

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27165.215150.patch
Type: text/x-patch
Size: 12289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190814/34ae767c/attachment-0001.bin>


More information about the cfe-commits mailing list