[PATCH] D20207: [AST] Move operations enum to a definition file.

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 08:19:22 PDT 2016


etienneb created this revision.
etienneb added reviewers: klimek, aaron.ballman.
etienneb added subscribers: cfe-commits, alexfh, sbenza.

This patch moves the enum definitions to a definition (.def) file.

These modifications provide way to list enumerator 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.

http://reviews.llvm.org/D20207

Files:
  include/clang/AST/OperationKinds.def
  include/clang/AST/OperationKinds.h
  include/clang/module.modulemap
  lib/AST/Expr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20207.57042.patch
Type: text/x-patch
Size: 35066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160512/49228b1b/attachment-0001.bin>


More information about the cfe-commits mailing list