{"push_id":2466202985,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"f1010cd2b085546ee8d1902e432bcb3238117bcd","before":"c7df5c77fa6a5e002655af0888cf209777539bd2","commits":[{"sha":"f1010cd2b085546ee8d1902e432bcb3238117bcd","author":{"name":"Eric Fiselier","email":"96f164ad4d9b2b0dacf8ebee2bb1eeb3aa69adf1@efcs.ca"},"message":"[Sema] Fix PR35832 - Ambiguity accessing anonymous struct/union with multiple bases.\n\nSummary:\nCurrently clang doesn't do qualified lookup when building indirect field decl references. This causes ambiguity when the field is in a base class to which there are multiple valid paths  even though a qualified name is used.\n\nFor example:\n```\nclass B {\nprotected:\n int i;\n union { int j; };\n};\n\nclass X : public B { };\nclass Y : public B { };\n\nclass Z : public X, public Y {\n int a() { return X::i; } // works\n int b() { return X::j; } // fails\n};\n```\n\nReviewers: rsmith, aaron.ballman, rjmccall\n\nReviewed By: rjmccall\n\nSubscribers: cfe-commits\n\nDifferential Revision: https://reviews.llvm.org/D45411\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329521 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-project/clang/commits/f1010cd2b085546ee8d1902e432bcb3238117bcd"}]}
{"actor":{"display_login":"chapuni"}}