summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-05-17 20:06:56 +0000
committerTed Kremenek <kremenek@apple.com>2010-05-17 20:06:56 +0000
commit9cfe9e6a4a91b66535bfa4ca008df5b9163395fd (patch)
tree762e9d19bd4e88bb83077d5b0fb30a84b099b54e /clang/include/clang-c
parent84a8415ed7bf336bd6e99a0a9a22222bdb7f6272 (diff)
downloadbcm5719-llvm-9cfe9e6a4a91b66535bfa4ca008df5b9163395fd.tar.gz
bcm5719-llvm-9cfe9e6a4a91b66535bfa4ca008df5b9163395fd.zip
Add libclang function 'clang_CXXMethod_isStatic' to query of a C++ method
is declared static. llvm-svn: 103963
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h18
1 files changed, 18 insertions, 0 deletions
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
@@ -1341,6 +1341,24 @@ 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);
+
+/**
+ * @}
+ */
+
+/**
* \defgroup CINDEX_LEX Token extraction and manipulation
*
* The routines in this group provide access to the tokens within a
OpenPOWER on IntegriCloud