<br><br><div class="gmail_quote">Le 28 mars 2012 03:49, Hongjun Zheng <span dir="ltr"><<a href="mailto:nelson_han@yahoo.com">nelson_han@yahoo.com</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>Hi Clang dev,<var></var><var></var></div>
<div> </div>
<div>It's advised to ask cfe-dev to verify that some specific Clang open projects has not been completed.</div>
<div>I wonder the status of the following open projects' at <a href="http://clang.llvm.org/OpenProjects.html." target="_blank">http://clang.llvm.org/OpenProjects.html.</a></div>
<div> </div>
<div>Are they not started, ongoing, or completed? I'd like pick one of them to start with. </div>
<ul>
<li><b>StringRef'ize APIs</b>: A thankless but incredibly useful project is StringRef'izing (converting to use <tt>llvm::StringRef</tt> instead of <tt>const char *</tt> or <tt>std::string</tt>) various clang interfaces. This generally simplifies the code and makes it more efficient.</li>

<li><b>XML Representation of ASTs</b>: Clang maintains a rich Abstract Syntax Tree that describes the program. Clang could emit an XML document that describes the program, which others tools could consume rather than being tied directly to the Clang binary.The XML representation needs to meet several requirements: 
<ul>
<li><i>General</i>, so that it's able to represent C/C++/Objective-C abstractly, and isn't tied to the specific internal ASTs that Clang uses.</li>
<li><i>Documented</i>, with appropriate Schema against which the output of Clang's XML formatter can be verified.</li>
<li><i>Stable</i> across Clang versions.</li></ul></li></ul>
<div>Thanks,</div>
<div>NH</div></div></div><br><br></blockquote><div><br>Hi Hongjun,<br><br>StringRef-ization and ArrayRef-ization are ongoing cleanup tasks, they are not particularly tied to anyone and probably a good way to get your feet wet.<br>
<br>I believe that the XML representations of ASTs nodes would require a higher degree of expertise on the Standard because of the translation phase (ie not tying the representation in XML to the classes used).<br><br>-- Matthieu<br>
</div></div><br>