| commit | cdb591af0338a197bdf6b9a77c89c630e556369a | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Apr 25 20:37:58 2011 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Apr 25 20:37:58 2011 +0000 |
| tree | 4cdeab46dc44944c600c6bb218d7b6b49955ea2e | |
| parent | fc87e2dd5c997060e4d82dd50f7a5e8ebd439998 [diff] |
fix PR9474, a crash with -fshort-enum and C++ templates: when instantiating the enum decl, we need to use an integer type the same size as the enumerator, which may not be the promoted type with packed enums. llvm-svn: 130148