Re: FW: SemaAccess bug (protected members of derived)

2017-03-21 Thread Alex L via cfe-commits
D2) > *Cc:* cfe-commits@lists.llvm.org > *Subject:* Re: FW: SemaAccess bug (protected members of derived) > > > > Thanks, can you please attach a diff that includes both the code change > and the new test? > > > > On 21 March 2017 at 14:18, Dixon Ryan (ETAS/ERS-PD2) via c

RE: FW: SemaAccess bug (protected members of derived)

2017-03-21 Thread Dixon Ryan (ETAS/ERS-PD2) via cfe-commits
From path: URL: http://llvm.org/svn/llvm-project/cfe/trunk Relative URL: ^/cfe/trunk From: Alex L [mailto:arpha...@gmail.com] Sent: 21 March 2017 14:22 To: Dixon Ryan (ETAS/ERS-PD2) Cc: cfe-commits@lists.llvm.org Subject: Re: FW: SemaAccess bug (protected members of derived) Thanks, can you

Re: FW: SemaAccess bug (protected members of derived)

2017-03-21 Thread Alex L via cfe-commits
nt:* 21 March 2017 14:18 > *To:* 'Alex L' > *Subject:* RE: SemaAccess bug (protected members of derived) > > > > Hello, sorry this is the first time I have done this. > > > > The test case is attached. It should fail without the patch and then > should pass

FW: SemaAccess bug (protected members of derived)

2017-03-21 Thread Dixon Ryan (ETAS/ERS-PD2) via cfe-commits
Sending to mailing list. From: Dixon Ryan (ETAS/ERS-PD2) Sent: 21 March 2017 14:18 To: 'Alex L' Subject: RE: SemaAccess bug (protected members of derived) Hello, sorry this is the first time I have done this. The test case is attached. It should fail without the patch and then sh

Re: SemaAccess bug (protected members of derived)

2017-03-21 Thread Alex L via cfe-commits
Hi, Can you please add a suitable test-case? Clang's code-completion tests are normally in test/CodeCompletion or test/Index. Cheers, Alex On 21 March 2017 at 12:05, Dixon Ryan (ETAS/ERS-PD2) via cfe-commits < cfe-commits@lists.llvm.org> wrote: > There are a number of users of the clang static

SemaAccess bug (protected members of derived)

2017-03-21 Thread Dixon Ryan (ETAS/ERS-PD2) via cfe-commits
There are a number of users of the clang static analyser back-end for intelligent code completion. Irony-Mode for emacs, for example. For a while people have been reporting an issue with not getting completions for protected members of parent classes and I believe this patch solves the bug: simp