[cfe-dev] Keeping invalid AST nodes

Vassil Vassilev vvasilev at cern.ch
Sat Mar 29 03:14:27 PDT 2014


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 at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list