This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Getting format of arg_type
- From: Prasad Ghangal <prasad dot ghangal at gmail dot com>
- To: gcc Mailing List <gcc at gcc dot gnu dot org>
- Cc: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>
- Date: Fri, 15 Apr 2016 19:04:33 +0530
- Subject: Getting format of arg_type
- Authentication-results: sourceware.org; auth=none
Hi!
Regarding PR64955, I was observing function format_type_warning() (in
c-family/c-format.c), how can I get format specifier for arg_type?
Say, if tree arg_type stores 'char', then how can I get its format i.e. 'c' ?
Thanks,
Prasad Ghangal