[all-commits] [llvm/llvm-project] d942a8: PR45063: Fix crash on invalid processing an elabor...

Haojian Wu via All-commits all-commits at lists.llvm.org
Wed Jun 10 02:51:40 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: d942a81c71a3f970857e92e98cc6503b61b589b0
      https://github.com/llvm/llvm-project/commit/d942a81c71a3f970857e92e98cc6503b61b589b0
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

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

  Log Message:
  -----------
  PR45063: Fix crash on invalid processing an elaborated class template-id
with an invalid scope specifier.

(cherry picked from commit 44c3a63c74dddeef17e424ec76bd90c8582d8a3c)


  Commit: 3f4a753f597357db77fe395561234a50daa451b3
      https://github.com/llvm/llvm-project/commit/3f4a753f597357db77fe395561234a50daa451b3
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

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

  Log Message:
  -----------
  [clang] Fix crash on visiting null nestedNameSpecifier.

Summary: Fix https://github.com/clangd/clangd/issues/293

Reviewers: sammccall

Subscribers: ilya-biryukov, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76320

(cherry picked from commit bd763e2cf7c1d84bab95064cc5cbe542b227b025)


Compare: https://github.com/llvm/llvm-project/compare/cbc9b92df458...3f4a753f5973


More information about the All-commits mailing list