[PATCH] D66186: [Sema] Don't warn on printf('%hd', [char]) (PR41467)

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 23 10:16:29 PDT 2019


lebedev.ri requested changes to this revision.
lebedev.ri added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/lib/Sema/SemaChecking.cpp:8106
           return true;
+        Pedantic = true;
       }
----------------
`if (ImplicitMatch == analyze_printf::ArgType::NoMatchPedantic)` should have stayed probably?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66186





More information about the cfe-commits mailing list