diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-11-12 03:57:22 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-11-12 03:57:22 +0000 |
commit | cdfd2b5933f69a01946ff05cccb08f3fdfd11d80 (patch) | |
tree | 61517db5162798e65e10a6d770fd0b78a81e4609 /include/clang-c | |
parent | cc31f6a45f825f73f45c2c860bd2846a8f81c5cc (diff) |
libclang: add clang_Cursor_getCXXManglings
This function permits the mangling of a C++ 'structor. Depending on the ABI and
the declaration, the declaration may contain more than one associated symbol for
a given declaration. This allows the consumer to retrieve all of the associated
symbols for the declaration the cursor points to.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index cd5eb4e4d2..fd8fb130f8 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -3863,6 +3863,12 @@ CINDEX_LINKAGE CXString clang_Cursor_getBriefCommentText(CXCursor C); CINDEX_LINKAGE CXString clang_Cursor_getMangling(CXCursor); /** + * \brief Retrieve the CXStrings representing the mangled symbols of the C++ + * constructor or destructor at the cursor. + */ +CINDEX_LINKAGE CXStringSet *clang_Cursor_getCXXManglings(CXCursor); + +/** * @} */ |