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

elizabethandrews via All-commits all-commits at lists.llvm.org
Thu Feb 13 00:31:30 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 808f8a632f8bc12830157c57461ae8f848c566a3
      https://github.com/llvm/llvm-project/commit/808f8a632f8bc12830157c57461ae8f848c566a3
  Author: Elizabeth Andrews <elizabeth.andrews at intel.com>
  Date:   2020-02-13 (Thu, 13 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

(cherry picked from commit a58017e5cae5be948fd1913b68d46553e87aa622)




More information about the All-commits mailing list