[PATCH] D76939: [AST] Add a Dependence bitmask to use for calculations with multiple node types.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 27 10:55:35 PDT 2020


sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This makes it easier/safer to add bits (error) to other node types without
worrying about bit layout all the time.

For now, just use to implement the ad-hoc conversion functions.
Next: remove these functions and use this directly.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76939

Files:
  clang/include/clang/AST/DependenceFlags.h
  clang/lib/AST/ComputeDependence.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76939.253169.patch
Type: text/x-patch
Size: 10689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200327/f53f11ba/attachment.bin>


More information about the cfe-commits mailing list