<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Nikola,<br>
<br>
I am trying to find the last include in a file and then create a
fixit hint to point to the next whitespace to <br>
include the file (bug 5835) . I have written a PPCallback class
which locates the last include directive and now i need to find the
adjacent location to last include directive . (which is hopefully a
whitespace)<br>
So I can just use the plus operator , then ?<br>
<br>
<div class="moz-cite-prefix">On 28/09/14 12:06, Nikola Smiljanic
wrote:<br>
</div>
<blockquote
cite="mid:CAGq7tnObMPp+PvTnyYTUyq-aekqbg3d6830NXSOZkiLg13ky7g@mail.gmail.com"
type="cite">
<div dir="ltr">What exactly are you trying to do? SourceLocation
is just an index into a source buffer, so the next one would be
just +1.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Sep 28, 2014 at 7:17 PM, kwadwo
amankwa <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:que@lunarblack.com" target="_blank">que@lunarblack.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi ,<br>
<br>
Can anyone show me how to find the adjacent or next
SourceLocation of a SourceLocation?<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:cfe-dev@cs.uiuc.edu"
target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a moz-do-not-send="true"
href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev"
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>