[all-commits] [llvm/llvm-project] d68c09: [AST] Add a Dependence bitmask to use for calculat...

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Mar 27 16:16:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d68c09ac87959694fbb4895ff49443afc2b582f9
      https://github.com/llvm/llvm-project/commit/d68c09ac87959694fbb4895ff49443afc2b582f9
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-03-28 (Sat, 28 Mar 2020)

  Changed paths:
    M clang/include/clang/AST/DependenceFlags.h
    M clang/lib/AST/ComputeDependence.cpp

  Log Message:
  -----------
  [AST] Add a Dependence bitmask to use for calculations with multiple node types.

Summary:
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.

Reviewers: hokein

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76939




More information about the All-commits mailing list