[all-commits] [llvm/llvm-project] 2e48be: Fix mishandling of invalid-but-non-empty nested na...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Dec 10 17:55:53 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e48be09b02e6d01b85d31704d768b6d0c751751
      https://github.com/llvm/llvm-project/commit/2e48be09b02e6d01b85d31704d768b6d0c751751
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Parser/cxx-template-decl.cpp

  Log Message:
  -----------
  Fix mishandling of invalid-but-non-empty nested name specifiers in name
classification.

We were accidentally treating invalid scope specs as being empty,
resulting in our trying to form an ADL-only call with a qualified
callee, which tripped up an assert later on.




More information about the All-commits mailing list