summaryrefslogtreecommitdiffstats
path: root/include/clang-c
diff options
context:
space:
mode:
authorErik Verbruggen <erikjv@me.com>2011-10-06 07:27:49 +0000
committerErik Verbruggen <erikjv@me.com>2011-10-06 07:27:49 +0000
commitd12059673dcef32bc2b6bae5321654d33863afe6 (patch)
treeab758c88fd4c47be76385950000fcd057c541c2f /include/clang-c
parentaed123ec3cc37e457fe20a6158fdadf8849ad916 (diff)
Added CXAvailability_NotAccessible to indicate that a declaration is available, but not accessible from the current code completion context.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r--include/clang-c/Index.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index 05ac19bb23..ea4261fe20 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -115,7 +115,12 @@ enum CXAvailabilityKind {
/**
* \brief The entity is not available; any use of it will be an error.
*/
- CXAvailability_NotAvailable
+ CXAvailability_NotAvailable,
+ /**
+ * \brief The entity is available, but not accessible; any use of it will be
+ * an error.
+ */
+ CXAvailability_NotAccessible
};
/**