diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-05-17 18:38:35 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-05-17 18:38:35 +0000 |
| commit | 62770bea4b0bd203c7ad09f57cf68bfc16a58612 (patch) | |
| tree | 4b5f7b8171e65861e90237aaf0842e9ca0f548e7 /clang/include/clang-c | |
| parent | 858885578d6bdf82527c2d895368fc0140536b83 (diff) | |
| download | bcm5719-llvm-62770bea4b0bd203c7ad09f57cf68bfc16a58612.tar.gz bcm5719-llvm-62770bea4b0bd203c7ad09f57cf68bfc16a58612.zip | |
libclang: add a function to check whether a member function is pure virtual
Patch by Seth Fowler.
llvm-svn: 182139
Diffstat (limited to 'clang/include/clang-c')
| -rw-r--r-- | clang/include/clang-c/Index.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index d8c37ebd70f..21b7dba0763 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -4035,6 +4035,12 @@ CINDEX_LINKAGE CXString clang_FullComment_getAsXML(CXComment Comment); */ /** + * \brief Determine if a C++ member function or member function template is + * pure virtual. + */ +CINDEX_LINKAGE unsigned clang_CXXMethod_isPureVirtual(CXCursor C); + +/** * \brief Determine if a C++ member function or member function template is * declared 'static'. */ |

