nridge added a comment.

There is precedent for highlighting declarations and uses differently in other 
C++ editors. For example, Eclipse CDT has separate highlightings for function 
and functions declarations (see screenshot below).

Objectively speaking, I think it makes sense to style function declarations 
differently from function uses for emphasis. For example, you can use the same 
color for both, but make the declarations bold. I have found this to aid 
readability.

F9891365: cdt-syntax-color.png <https://reviews.llvm.org/F9891365>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66990/new/

https://reviews.llvm.org/D66990



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to