[all-commits] [llvm/llvm-project] fcb90c: Fix miscomputation of dependence for elaborated ty...

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Feb 4 13:14:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcb90cbd3b4ae3934bdd05d538647d37ce899962
      https://github.com/llvm/llvm-project/commit/fcb90cbd3b4ae3934bdd05d538647d37ce899962
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

  Changed paths:
    M clang/include/clang/AST/DependenceFlags.h
    M clang/include/clang/AST/Type.h
    M clang/test/SemaTemplate/instantiation-dependence.cpp

  Log Message:
  -----------
  Fix miscomputation of dependence for elaborated types that are
explicitly qualified as members of the current instantiation.

Despite the nested name specifier being fully-dependent in this case,
the elaborated type might only be instantiation-dependent, because the
type is a member of the current instantiation.




More information about the All-commits mailing list