commit | fcbe20811e3848869054ad13352cbb431bd423eb | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Thu Aug 01 04:22:55 2013 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Thu Aug 01 04:22:55 2013 +0000 |
tree | a7bffaa71fd84804254773e2241c80ccc0ff44ab | |
parent | 3f32210598ff678fbaa462422770bdbace895ac8 [diff] |
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