<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 16, 2015 at 12:29 AM, Chengnian Sun 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi, </span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am trying to parse the comment attached to declarations. However, it seems that clang only parses documentation comments, but not line comments or block comments. </div></div></blockquote><div><br></div><div>Can you give examples of what you're hoping to parse, and how you might access it?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px">Is there a way do enable the parser to parse all the comments? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am using LibTooling and new to it, and cannot find a way to this. Your help is greatly appreciated. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you. </div><span class=""><font color="#888888"><div><br></div></font></span></div></blockquote><div><br></div><div>You might look at CommentOptions::ParseAllComments in case that's related to what you're trying to do.</div><div><br></div><div>-- James</div><div><br></div><div><br></div></div></div></div>