[all-commits] [llvm/llvm-project] 8899b7: [LLD][COFF] Mark operator== const to avoid ambigui...
Samira Bazuzi via All-commits
all-commits at lists.llvm.org
Wed Oct 4 08:39:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8899b713ea65f038d29043d5801283d2a79d4ed4
https://github.com/llvm/llvm-project/commit/8899b713ea65f038d29043d5801283d2a79d4ed4
Author: Samira Bazuzi <bazuzi at users.noreply.github.com>
Date: 2023-10-04 (Wed, 04 Oct 2023)
Changed paths:
M lld/COFF/Config.h
Log Message:
-----------
[LLD][COFF] Mark operator== const to avoid ambiguity in C++20. (#68119)
C++20 will automatically generate an operator== with reversed operand
order, which is ambiguous with the written operator== when one argument
is marked const and the other isn't.
More information about the All-commits
mailing list