Skip to content
Commit cdb591af authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent fc87e2dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment