[PATCH] Correctly check for the main file in the presence of line markers
Eli Friedman
eli.friedman at gmail.com
Thu Aug 15 15:08:33 PDT 2013
Ping^2.
On Fri, Aug 9, 2013 at 9:33 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> Ping.
>
> On Mon, Jul 29, 2013 at 6:33 PM, Eli Friedman <eli.friedman at gmail.com>
> wrote:
> > Patch attached. Basically, the idea is that even if a SourceLocation
> > is technically in the main file, we might want to treat it differently
> > in the presence of line markers. I added
> > SourceManager::isPresumedFromMainFile to check this.
> >
> > I'm particularly looking for suggestions about the name of the method;
> > having isFromMainFile and isPresumedFromMainFile seems very confusing,
> > but I don't really have any better ideas.
> >
> > -Eli
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130815/eed6e154/attachment.html>
More information about the cfe-commits
mailing list