[all-commits] [llvm/llvm-project] bcd51a: Don't try to look up a name containing a dependent...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Dec 13 14:43:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcd51aaaf8bde4b0ae7a4155d9ce3dec78fe2598
      https://github.com/llvm/llvm-project/commit/bcd51aaaf8bde4b0ae7a4155d9ce3dec78fe2598
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCXX/conversion-function.cpp

  Log Message:
  -----------
  Don't try to look up a name containing a dependent type.

Template instantiation can create names that are still dependent, such
as `operator T`. Don't assume that they can be looked up immediately,
and instead defer lookup for such names until we know what `T` is.




More information about the All-commits mailing list