diff options
| author | Michael Wu <mwu.code@gmail.com> | 2018-08-03 05:55:40 +0000 |
|---|---|---|
| committer | Michael Wu <mwu.code@gmail.com> | 2018-08-03 05:55:40 +0000 |
| commit | 58d837d347c4de12097843fa7579c02cf45c10d7 (patch) | |
| tree | 2f94e6772a89ac98493935532cf1edab0e668b15 /clang/tools/libclang/CXCursor.cpp | |
| parent | 5d108d260f8fbdf95a28b9c8e25032be676424bf (diff) | |
| download | bcm5719-llvm-58d837d347c4de12097843fa7579c02cf45c10d7.tar.gz bcm5719-llvm-58d837d347c4de12097843fa7579c02cf45c10d7.zip | |
[libclang 8/8] Add support for the flag_enum attribute
Summary:
This adds support to libclang for reading the flag_enum attribute.
This also bumps CINDEX_VERSION_MINOR for this patch series.
Reviewers: yvvan, jbcoe
Reviewed By: yvvan
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D49635
llvm-svn: 338820
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
| -rw-r--r-- | clang/tools/libclang/CXCursor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp index 09321be0515..e69143cee01 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -78,6 +78,7 @@ static CXCursorKind GetCursorKind(const Attr *A) { case attr::ObjCDesignatedInitializer: return CXCursor_ObjCDesignatedInitializer; case attr::ObjCRuntimeVisible: return CXCursor_ObjCRuntimeVisible; case attr::ObjCBoxable: return CXCursor_ObjCBoxable; + case attr::FlagEnum: return CXCursor_FlagEnum; } return CXCursor_UnexposedAttr; |

