Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Sema] Don't crash on scanf on forward-declared enums. | Benjamin Kramer | 2016-08-20 | 1 | -0/+16 |
| | | | | | | | | This is valid in GNU C, which allows pointers to incomplete enums. GCC just pretends that the underlying type is 'int' in those cases, follow that behavior. llvm-svn: 279374 | ||||
* | Format strings: check against an enum's underlying type. | Jordan Rose | 2014-05-31 | 1 | -2/+2 |
| | | | | | | | | | | | | | This allows us to be more careful when dealing with enums whose fixed underlying type requires special handling in a format string, like NSInteger. A refinement of r163266 from a year and a half ago, which added the special handling for NSInteger and friends in the first place. <rdar://problem/16616623> llvm-svn: 209966 | ||||
* | Teach printf/scanf about enums with fixed underlying types. | Jordan Rose | 2012-06-04 | 1 | -0/+36 |
llvm-svn: 157961 |