<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 14, 2009, at 1:48 PM, dan chap wrote:</div><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;">Also, can someone explain the subtle differences between a Source Location and an Instantiation Location as in:<br><pre><span style="font-family: courier,monaco,monospace,sans-serif;">SourceLocation Loc = D->getLocation();</span><br style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: courier,monaco,monospace,sans-serif;">Loc = SM->getInstantiationLoc(Loc);</span><br></pre></td></tr></tbody></table></blockquote></div><br><div>Some details are here:</div><div><a href="http://clang.llvm.org/docs/InternalsManual.html#SourceLocation">http://clang.llvm.org/docs/InternalsManual.html#SourceLocation</a></div><div><br></div><div>-Chris</div></body></html>