diff options
author | Eli Bendersky <eliben@google.com> | 2014-07-31 18:04:56 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2014-07-31 18:04:56 +0000 |
commit | 44a206f8299ff128d39177028dca0735dded6328 (patch) | |
tree | ffadd2ac6aee2c4280bb5550d10a8600c333df6f /clang/include/clang-c | |
parent | a1db7df243610bd5433c2147ecad9de76a1f7da4 (diff) | |
download | bcm5719-llvm-44a206f8299ff128d39177028dca0735dded6328.tar.gz bcm5719-llvm-44a206f8299ff128d39177028dca0735dded6328.zip |
Exposes a C API to name mangling for a given cursor.
Inspired by https://gist.github.com/tritao/2766291, and was previously discussed
on cfe-dev: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-June/037577.html
Adding testing capability via c-index-test.
llvm-svn: 214410
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r-- | clang/include/clang-c/Index.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 27655774f08..972f42e69a4 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -3639,6 +3639,20 @@ CINDEX_LINKAGE CXString clang_Cursor_getBriefCommentText(CXCursor C); * @} */ +/** \defgroup CINDEX_MANGLE Name Mangling API Functions + * + * @{ + */ + +/** + * \brief Retrieve the CXString representing the mangled name of the cursor. + */ +CINDEX_LINKAGE CXString clang_Cursor_getMangling(CXCursor); + +/** + * @} + */ + /** * \defgroup CINDEX_MODULE Module introspection * |