aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-25 20:37:58 +0000
committerChris Lattner <sabre@nondot.org>2011-04-25 20:37:58 +0000
commitcdb591af0338a197bdf6b9a77c89c630e556369a (patch)
tree4cdeab46dc44944c600c6bb218d7b6b49955ea2e /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentfc87e2dd5c997060e4d82dd50f7a5e8ebd439998 (diff)
downloadllvm-cdb591af0338a197bdf6b9a77c89c630e556369a.zip
llvm-cdb591af0338a197bdf6b9a77c89c630e556369a.tar.gz
llvm-cdb591af0338a197bdf6b9a77c89c630e556369a.tar.bz2
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
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions