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.
Paths
| Differential D76939
[AST] Add a Dependence bitmask to use for calculations with multiple node types. ClosedPublic Authored by sammccall on Mar 27 2020, 10:51 AM.
Details Summary This makes it easier/safer to add bits (error) to other node types without For now, just use to implement the ad-hoc conversion functions.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 27 2020, 3:26 PM sammccall added inline comments. Closed by commit rGd68c09ac8795: [AST] Add a Dependence bitmask to use for calculations with multiple node types. (authored by sammccall). · Explain WhyMar 27 2020, 4:32 PM This revision was automatically updated to reflect the committed changes. sammccall marked an inline comment as done.
Revision Contents
Diff 253169 clang/include/clang/AST/DependenceFlags.h
clang/lib/AST/ComputeDependence.cpp
|
nit: this seems to be unused?