[all-commits] [llvm/llvm-project] 09abec: PR48002: Fix injection of elaborated-type-specifie...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Oct 28 14:30:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09abecef7bbfda18d34f046954eaa4d491062839
      https://github.com/llvm/llvm-project/commit/09abecef7bbfda18d34f046954eaa4d491062839
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CXX/basic/basic.scope/basic.scope.pdecl/p7.cpp

  Log Message:
  -----------
  PR48002: Fix injection of elaborated-type-specifiers within local
classes into the enclosing block scope.

We weren't properly detecting whether the name would be injected into a
block scope in the case where it was lexically declared in a local
class.




More information about the All-commits mailing list