diff options
| author | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-03-09 16:21:03 +0000 |
|---|---|---|
| committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-03-09 16:21:03 +0000 |
| commit | 5486a908329d92454315f0e75d24712854cf5bb0 (patch) | |
| tree | a4e7b3c48e141aedbb07db75e0ebcb28986b47e1 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | e74395412dd09c3854905e824aef22998e4f881d (diff) | |
| download | clang-5486a908329d92454315f0e75d24712854cf5bb0.tar.gz clang-5486a908329d92454315f0e75d24712854cf5bb0.tar.bz2 clang-5486a908329d92454315f0e75d24712854cf5bb0.tar.xz | |
Fix uninitialized value in AttributedTypeLoc.
Clang might crash while reading the precompiled headers if
we don't initialize the AttrEnumOperandLoc properly.
This commit fixes the combination of string attribute
operand and enum operand. Besides, this commit also adds
several assertions to avoid unexpected operand kind.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
