[all-commits] [llvm/llvm-project] 0c4253: Improve error recovery from missing '>' in templat...

Richard Smith via All-commits all-commits at lists.llvm.org
Fri Mar 27 18:59:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c42539df3d4c697fa3bf6fc88e94b127d334a57
      https://github.com/llvm/llvm-project/commit/0c42539df3d4c697fa3bf6fc88e94b127d334a57
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-03-27 (Fri, 27 Mar 2020)

  Changed paths:
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/ParsedTemplate.h
    M clang/lib/Parse/ParseObjc.cpp
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.cpp
    M clang/test/CXX/drs/dr3xx.cpp
    M clang/test/Parser/cxx-member-initializers.cpp
    M clang/test/Parser/cxx-template-argument.cpp
    M clang/test/Parser/cxx-template-decl.cpp
    M clang/test/Parser/objc-error-qualified-implementation.m
    M clang/test/SemaCXX/decltype.cpp
    M clang/test/SemaCXX/implicit-exception-spec.cpp
    M clang/test/SemaCXX/injected-class-name-crash.cpp
    M clang/test/SemaObjC/crash-on-type-args-protocols.m
    M clang/test/SemaTemplate/ms-delayed-default-template-args.cpp

  Log Message:
  -----------
  Improve error recovery from missing '>' in template argument list.

Produce the conventional "to match this '<'" note, so that the user
knows why we expected a '>', and properly handle '>>' in C++11 onwards.




More information about the All-commits mailing list