[all-commits] [llvm/llvm-project] 525903: Fix argument numbering confusion when diagnosing a...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Oct 29 13:08:50 PDT 2019


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

  Changed paths:
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/overload-member-call.cpp

  Log Message:
  -----------
  Fix argument numbering confusion when diagnosing a non-viable operator().

This could lead to crashes if operator() is a variadic template, as we
could end up asking for an out-of-bounds argument.




More information about the All-commits mailing list