<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 2 April 2018 at 05:58, ogzu rasa via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div>With the below case I don't have the expected type :</div><div><br></div><div>main file (input file of the tool) 

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">tests.h</span>

:</div><div><br></div>



<div style="float:left;white-space:pre-wrap;line-height:1;background:rgb(255,255,255)"><span class="m_1374703072833519288gmail-sc9" style="color:rgb(128,64,0);font-family:"Courier New";font-size:10pt"><b>#include "external_lib.h"</b>
</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
</span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">namespace</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Test</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">

</span><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">void</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">fnc</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">(</span><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">const</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">external_lib</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">MyClass</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">&</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">a</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">);</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">

</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span></div>


<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><b>external_lib.h</b> (in include path):</div><div><br></div><div><div style="float:left;white-space:pre-wrap;line-height:1;background:rgb(255,255,255)"><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">namespace</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">  </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">external_lib</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">

</span><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">class</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">MyClass</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">};</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">

</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span></div>


<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>My code which returns a wrong result: </div><div><br></div><div><div style="float:left;white-space:pre-wrap;line-height:1;background:rgb(255,255,255)"><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">void</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">GetSourceRange</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">(</span><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">const</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">QualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">&</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">,</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">SourceRange</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">&</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">srcLoc</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">)</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Decl</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">*</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">decl</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">nullptr</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">switch</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">(</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getTypeClass</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">())</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">case</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Pointer</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">auto</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">pointee_type</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getPointeeType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">GetSourceRange</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">(</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">pointee_type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">,</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">srcLoc</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">);</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">break</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">case</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Elaborated</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">auto</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">ET</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getAs</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt"><</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Elabora<wbr>tedType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">>();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">GetSourceRange</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">(</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">ET</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getNamedTyp<wbr>e</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">(),</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">srcLoc</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">);</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">break</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">case</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">RValueReference</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">case</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">LValueReference</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc16" style="color:rgb(128,0,255);font-family:"Courier New";font-size:10pt">auto</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">dref</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">.</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getNonReferenceType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">()<wbr>;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">GetSourceRange</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">(</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">dref</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">,</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">srcLoc</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">);</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">break</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">case</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Record</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">srcLoc</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getAs</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt"><</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">RecordT<wbr>ype</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">>()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getDecl</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getSourceRa<wbr>nge</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">decl</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getAs</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt"><</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">RecordT<wbr>ype</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">>()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getDecl</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">break</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">case</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Enum</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">srcLoc</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getAs</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt"><</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">EnumTyp<wbr>e</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">>()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getDecl</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getSourceRang<wbr>e</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">decl</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getAs</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt"><</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">EnumTyp<wbr>e</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">>()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getDecl</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">break</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">case</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Typedef</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">srcLoc</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getAs</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt"><</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Typedef<wbr>Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">>()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getDecl</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getSourceR<wbr>ange</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">decl</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">=</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)"> </span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">qualType</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getAs</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt"><</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">clang</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">::</span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">Typedef<wbr>Type</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">>()-></span><span class="m_1374703072833519288gmail-sc11" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">getDecl</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">();</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">break</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">default</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">:</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">{</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
        </span><span class="m_1374703072833519288gmail-sc5" style="font-weight:bold;color:rgb(0,0,255);font-family:"Courier New";font-size:10pt">break</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">;</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">  
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
    </span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span><span class="m_1374703072833519288gmail-sc0" style="font-family:"Courier New";font-size:10pt;color:rgb(0,0,0)">
</span><span class="m_1374703072833519288gmail-sc10" style="font-weight:bold;color:rgb(0,0,128);font-family:"Courier New";font-size:10pt">}</span></div>


<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Firtsly the code execute the L/RVAlueReference's case, but at the second call with type returned by <b>getNonReferenceType</b>() the line qualType->getTypeClass() returns clang::Type::Builtin instead of Elaborated.</div><div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">What's wrong with this case?</div><br></div><div>I haven't the issue if MyClass is declared in main file.</div></div></blockquote><div><br></div><div>My guess would be that your include paths are not configured correctly (so that external_lib.h is not being found, or perhaps the wrong version of that file is found), and you don't have a diagnostics renderer hooked up, so the error message for "external_lib::MyClass" being unknown is not printed anywhere; the BuiltinType you're seeing is probably being created by error recovery. You can call qualType.dump() to check what type you were given.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Many thanks for helps.</div><div><br></div><div></div></div>
<br>______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>