[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] Keeping invalid AST nodes
From:       Vassil Vassilev <vvasilev () cern ! ch>
Date:       2014-03-29 10:14:27
Message-ID: 53369D03.6000801 () cern ! ch
[Download RAW message or body]

On 28/03/14 00:15, Etienne Ollivier wrote:
> Hello,
> I tried again to implement your solution but unfortunately did not succed.
> My main problem is that the function LookupUnqualified is indeed called
> before an error is issued, but apparently also in other cases where
> everything is fine.
> The only difference is that LookupUnqualified will be called several times
> before the error is issued.
> Then I can not know exactly if there is an error.
> I tried to see if we could get some information about it in the Scope or in
> LookupResult but did not find anything that could help me.
I use the LookupNameKind to filter the false positives (+ some extra 
rules based on the DeclContext, which you can get from the Scope)
Vassil
> 
> 
> 
> --
> View this message in context: \
> http://clang-developers.42468.n3.nabble.com/Keeping-invalid-AST-nodes-tp4027991p4038647.html
>  Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic