summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-05-12 15:17:24 +0000
committerDouglas Gregor <dgregor@apple.com>2011-05-12 15:17:24 +0000
commit9519d92ef6ad541a7b0feddffb3a84103f1ce060 (patch)
treef37701adfdb38e4a9d778738c4fe44859a310013 /clang/include/clang-c
parenta4445d6a51fdc7374476ba844e259599bb4f4572 (diff)
downloadbcm5719-llvm-9519d92ef6ad541a7b0feddffb3a84103f1ce060.tar.gz
bcm5719-llvm-9519d92ef6ad541a7b0feddffb3a84103f1ce060.zip
Add clang_CXXMethod_isVirtual() to libclang, from Erik Verbruggen!
llvm-svn: 131230
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 97c0c7c0daa..c79475eff40 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2267,6 +2267,13 @@ CINDEX_LINKAGE CXCursor clang_getCanonicalCursor(CXCursor);
CINDEX_LINKAGE unsigned clang_CXXMethod_isStatic(CXCursor C);
/**
+ * \brief Determine if a C++ member function or member function template is
+ * explicitly declared 'virtual' or if it overrides a virtual method from
+ * one of the base classes.
+ */
+CINDEX_LINKAGE unsigned clang_CXXMethod_isVirtual(CXCursor C);
+
+/**
* \brief Given a cursor that represents a template, determine
* the cursor kind of the specializations would be generated by instantiating
* the template.
OpenPOWER on IntegriCloud