<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 11, 2013, at 10:02 , Argyrios Kyrtzidis <<a href="mailto:akyrtzi@gmail.com">akyrtzi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Author: akirtzidis<br>Date: Thu Apr 11 12:02:10 2013<br>New Revision: 179297<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=179297&view=rev">http://llvm.org/viewvc/llvm-project?rev=179297&view=rev</a><br>Log:<br>[libclang] Have clang_getCXXAccessSpecifier() also return the access control of a C++ declaration within its parent scope.<br><br>Suggested by Stefan Seefeld.<br><br>Modified:<br> cfe/trunk/include/clang-c/Index.h<br> cfe/trunk/test/Index/load-classes.cpp<br> cfe/trunk/tools/c-index-test/c-index-test.c<br> cfe/trunk/tools/libclang/CIndexCXX.cpp<br><br>Modified: cfe/trunk/include/clang-c/Index.h<br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=179297&r1=179296&r2=179297&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=179297&r1=179296&r2=179297&view=diff</a><br>==============================================================================<br>--- cfe/trunk/include/clang-c/Index.h (original)<br>+++ cfe/trunk/include/clang-c/Index.h Thu Apr 11 12:02:10 2013<br>@@ -2995,9 +2995,10 @@ enum CX_CXXAccessSpecifier {<br>};<br><br>/**<br>- * \brief Returns the access control level for the C++ base specifier<br>- * represented by a cursor with kind CXCursor_CXXBaseSpecifier or<br>- * CXCursor_AccessSpecifier.<br>+ * \brief Returns the access control level for the referenced object.<br>+ * If the cursor refers to a C++ declaration, its access control level within its<br>+ * parent scope is returned. Otherwise, if the cursor refers to a base specifier or<br>+ * access specifier, the specifier itself is returned.<br> */<br></div></blockquote><div><br></div><div>Nitpicking: for best Doxygen results, insert an extra newline after the \brief, so that the explication doesn't get included in the generated summary table.</div></div></body></html>