diff options
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index bd407a997d..deefafd418 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -2995,9 +2995,10 @@ enum CX_CXXAccessSpecifier { }; /** - * \brief Returns the access control level for the C++ base specifier - * represented by a cursor with kind CXCursor_CXXBaseSpecifier or - * CXCursor_AccessSpecifier. + * \brief Returns the access control level for the referenced object. + * If the cursor refers to a C++ declaration, its access control level within its + * parent scope is returned. Otherwise, if the cursor refers to a base specifier or + * access specifier, the specifier itself is returned. */ CINDEX_LINKAGE enum CX_CXXAccessSpecifier clang_getCXXAccessSpecifier(CXCursor); |