<div dir="ltr"><div><span style="font-size:12.8px">[this time with correct cfe-dev address]</span></div><span style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div>Clang (and Cling) Developers,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am working on a tool that takes produces a list of the fully-qualified names of the parameters in a function prototype. I need the fully qualified names because I am programmatically generating source code to call these functions, and I need to generate a function call with the correct types from the top-level namespace.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Unfortunately, getting the fully qualified name of random QualTypes is complicated.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">You can see just how complicated by looking at TypeName::GetFullyQualifiedName and it's callees in the Cling project:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><a href="https://root.cern.ch/gitweb?p=root.git;a=blob;f=interpreter/cling/lib/Utils/AST.cpp" target="_blank">https://root.cern.ch/gitweb?p=root.git;a=blob;f=interpreter/cling/lib/Utils/AST.cpp</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Does it makes sense to upstream this functionality from cling into clang? <br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">If there are issues with upstreaming, I could also write a new implementation.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Sterling</div></div>