Files
carbon-lang/lexer
Chandler Carruth 8f9609c53b Move to by-value friend comparison operator definitions. (#222)
This is often a (much) better option for this code as we have many types
that are just an integer, pointer, or enum of data that would be much
more efficient as a by-value parameter. It is also a cleaner design in
most cases.

One place can't migrate in this way: iterators that use the LLVM CRTP
library for filling out iterator methods. The CRTP dispatch expects
operators to be actual members, and so those are left as-is in this
patch.
2020-12-08 15:38:46 -08:00
..