[all-commits] [llvm/llvm-project] 3191e0: [Clang][Sema] Fix template name lookup for operato...
Krystian Stasiowski via All-commits
all-commits at lists.llvm.org
Fri May 3 14:08:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3191e0b52725aa17651e38d26284386f3ea64eb6
https://github.com/llvm/llvm-project/commit/3191e0b52725aa17651e38d26284386f3ea64eb6
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/Sema/SemaLookup.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
Log Message:
-----------
[Clang][Sema] Fix template name lookup for operator= (#90999)
This fixes a bug in #90152 where `operator=` was never looked up in the
current instantiation, resulting in `<` never being interpreted as the
start of a template argument list.
Since function templates are not copy/move assignment operators, the fix
is accomplished by allowing lookup in the current instantiation for
`operator=` when looking up a template name.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list