diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-08-01 04:22:55 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-08-01 04:22:55 +0000 |
| commit | fcbe20811e3848869054ad13352cbb431bd423eb (patch) | |
| tree | a7bffaa71fd84804254773e2241c80ccc0ff44ab /lib/CodeGen/CGExprScalar.cpp | |
| parent | 3f32210598ff678fbaa462422770bdbace895ac8 (diff) | |
| download | clang-fcbe20811e3848869054ad13352cbb431bd423eb.tar.gz clang-fcbe20811e3848869054ad13352cbb431bd423eb.tar.bz2 clang-fcbe20811e3848869054ad13352cbb431bd423eb.tar.xz | |
Parse: Don't consider attributes of broken member declarators
ParseCXXClassMemberDeclaration was trying to use the result of
ActOnCXXMemberDeclarator to attach it to some late parsed attributes.
However when failures arise, we have no decl to attach to which
eventually leads us to a NULL pointer dereference.
While we are here, clean up the code a bit.
Fixes PR16765
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions
