[all-commits] [llvm/llvm-project] a58017: Fix type-dependency of bitfields in templates

elizabethandrews via All-commits all-commits at lists.llvm.org
Wed Feb 12 13:32:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a58017e5cae5be948fd1913b68d46553e87aa622
      https://github.com/llvm/llvm-project/commit/a58017e5cae5be948fd1913b68d46553e87aa622
  Author: Elizabeth Andrews <elizabeth.andrews at intel.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M clang/lib/AST/Expr.cpp
    M clang/test/SemaTemplate/enum-argument.cpp
    A clang/test/SemaTemplate/value-dependent-bitfield-cond.cpp

  Log Message:
  -----------
  Fix type-dependency of bitfields in templates

This patch is a follow up to 878a24ee244a24. Name of bitfields
with value-dependent width should be set as type-dependent. This
patch adds the required value-dependency check and sets the
type-dependency accordingly.

Patch fixes PR44886

Differential revision: https://reviews.llvm.org/D72242




More information about the All-commits mailing list