diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-05-11 19:46:31 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-05-11 19:46:31 +0000 |
commit | eedb0c95a453ca7f84294032926de52db77e8abc (patch) | |
tree | 5a009e087b7085e1218cecf74e59167341c80dfc /clang/include/clang-c/Index.h | |
parent | df093e7b45b345493b545b5639c5b606689764e7 (diff) | |
download | bcm5719-llvm-eedb0c95a453ca7f84294032926de52db77e8abc.tar.gz bcm5719-llvm-eedb0c95a453ca7f84294032926de52db77e8abc.zip |
[libclang] Stop assuming that the internal C++ ABI ExceptionSpecificationType enumeration is the same as CXCursor_ExceptionSpecificationKind.
llvm-svn: 332130
Diffstat (limited to 'clang/include/clang-c/Index.h')
-rw-r--r-- | clang/include/clang-c/Index.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index 3d5b02b20ea..3fee13a40b4 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/include/clang-c/Index.h @@ -3586,6 +3586,7 @@ CINDEX_LINKAGE CXType clang_getResultType(CXType T); /** * Retrieve the exception specification type associated with a function type. + * This is a value of type CXCursor_ExceptionSpecificationKind. * * If a non-function type is passed in, an error code of -1 is returned. */ @@ -3621,6 +3622,7 @@ CINDEX_LINKAGE CXType clang_getCursorResultType(CXCursor C); /** * Retrieve the exception specification type associated with a given cursor. + * This is a value of type CXCursor_ExceptionSpecificationKind. * * This only returns a valid result if the cursor refers to a function or method. */ |