[cfe-dev] Disable #error?
silvas at purdue.edu
Thu Jan 23 11:19:32 PST 2014
On Wed, Jan 22, 2014 at 3:41 AM, Jacob Carlborg <doob at me.com> wrote:
> 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?
By what file it is declared in? How else would you determine this? You can
get the complete file path of the containing file with <
-- Sean Silva
> 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
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev