summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-11-12 03:57:22 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-11-12 03:57:22 +0000
commit6003443b8e04407d5497301b1cd9b3511b9b4343 (patch)
tree534cb6c28e1c11b8cc8d3b1fbe4ddaaaa8588a72 /clang/include/clang-c
parent5d92eaeb17f9b3b384a9d62036ee9d81134d2762 (diff)
downloadbcm5719-llvm-6003443b8e04407d5497301b1cd9b3511b9b4343.tar.gz
bcm5719-llvm-6003443b8e04407d5497301b1cd9b3511b9b4343.zip
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. llvm-svn: 252853
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index cd5eb4e4d22..fd8fb130f84 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/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);
+
+/**
* @}
*/
OpenPOWER on IntegriCloud