[cfe-dev] Marking declarations as invalid

Ben Craig via cfe-dev cfe-dev at lists.llvm.org
Thu Nov 5 14:01:20 PST 2015


I’ll turn the question around.

What are you trying to accomplish?  Do you see a case where you would like to mark a declaration as invalid, but don’t know the right way?  Or do you want to do something extra in the cases that a declaration has been found as invalid?  The context may spur the right kind of conversation.

 

Employee of Qualcomm Innovation Center, Inc.

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

 

From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of Nathan Wilson via cfe-dev
Sent: Thursday, November 05, 2015 3:55 PM
To: cfe-dev at lists.llvm.org
Subject: Re: [cfe-dev] Marking declarations as invalid

 

Hello,

 

I wanted to follow up to see if anyone had any thoughts about this. I'd appreciate it.

 

Thanks!

 

On Thu, Oct 29, 2015 at 10:04 PM, Nathan Wilson <nwilson20 at gmail.com <mailto:nwilson20 at gmail.com> > wrote:

Hi,

Would someone mind explaining when (or when not) to mark a declaration, i.e. FunctionDecl or VarDecl, an invalid declaration?

Then, if the declaration is marked invalid, at what do we look at/use that information?

 

Thanks,

Nate

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151105/94533ee7/attachment.html>


More information about the cfe-dev mailing list