From 9cfe9e6a4a91b66535bfa4ca008df5b9163395fd Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 17 May 2010 20:06:56 +0000 Subject: Add libclang function 'clang_CXXMethod_isStatic' to query of a C++ method is declared static. llvm-svn: 103963 --- clang/include/clang-c/Index.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'clang/include/clang-c') diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index a4741df84d1..3c69d0f292a 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -1336,6 +1336,24 @@ CINDEX_LINKAGE CXCursor clang_getCursorDefinition(CXCursor); */ CINDEX_LINKAGE unsigned clang_isCursorDefinition(CXCursor); +/** + * @} + */ + +/** + * \defgroup CINDEX_CPP C++ AST introspection + * + * The routines in this group provide access information in the ASTs specific + * to C++ language features. + * + * @{ + */ + +/** + * \brief Determine if a C++ member function is declared 'static'. + */ +CINDEX_LINKAGE unsigned clang_CXXMethod_isStatic(CXCursor C); + /** * @} */ -- cgit v1.2.3