[cfe-dev] Disable #error?

Jacob Carlborg doob at me.com
Wed Jan 22 00:41:48 PST 2014


On 2014-01-22 00:52, Sean Silva wrote:

> Check it's SourceLocation (or whatever the libclang equivalent is). What
> information do you need other than file and line?

How do I know if the origin of a declaration is in the current library 
or a completely different library?

I need to somehow check the path of the header where the declaration 
originates from and somehow match it against the current working 
directory. Seems quite fragile, or do you have any other suggestion.

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list