]> granicus.if.org Git - clang/commit
Teach printf/scanf about enums with fixed underlying types.
authorJordan Rose <jordan_rose@apple.com>
Mon, 4 Jun 2012 22:48:57 +0000 (22:48 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 4 Jun 2012 22:48:57 +0000 (22:48 +0000)
commitee0259d308e72141982a85b40863e760a8447edf
tree8662e003cd916965cd4ec50c0a68b27bff987192
parentbd1d18ecc420838b7ba620c0a2c5d2a86cac371d
Teach printf/scanf about enums with fixed underlying types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157961 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/FormatString.cpp
lib/Sema/SemaChecking.cpp
test/Sema/format-strings-enum-fixed-type.cpp [new file with mode: 0644]
test/Sema/format-strings-enum.c [new file with mode: 0644]