diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-05-12 20:58:56 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-05-12 20:58:56 +0000 |
commit | 24a8373fb87092037b77f4e3d1acb9b1cf41ed9f (patch) | |
tree | d41ff7cd64728a40b593f5b89cf11f544283116a /include/clang/module.modulemap | |
parent | e15fe213a0a6f2311d2760cb9224312bb9b639d8 (diff) |
[AST] Move operations enum to a definition file.
Summary:
This patch moves the enum definitions to a definition (.def) file.
These modifications provide way to list enumerators of a given type.
As an example, this allow parsing of "kinds" in the dynamic matchers.
see: http://reviews.llvm.org/D19871
The dynamic matcher "ofKind" also required this patch to be fixed.
Reviewers: klimek, aaron.ballman, rsmith
Subscribers: klimek, sbenza, alexfh, cfe-commits
Differential Revision: http://reviews.llvm.org/D20207
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/module.modulemap')
-rw-r--r-- | include/clang/module.modulemap | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/module.modulemap b/include/clang/module.modulemap index 5cc7fcc3eb..3ac236e9f7 100644 --- a/include/clang/module.modulemap +++ b/include/clang/module.modulemap @@ -43,6 +43,7 @@ module Clang_Basic { textual header "Basic/OpenCLExtensions.def" textual header "Basic/OpenCLImageTypes.def" textual header "Basic/OpenMPKinds.def" + textual header "Basic/OperationKinds.def" textual header "Basic/OperatorKinds.def" textual header "Basic/Sanitizers.def" textual header "Basic/TokenKinds.def" |