Files
rust/compiler
Nicholas Nethercote fda530d729 Streamline hidden visibility setting.
In `get_fn` there is a complicated set of if/elses to determine if
`hidden` visibility should be applied. There are five calls to
`LLVMRustSetVisibility` and some repetition in the comments.

This commit streamlines it a bit:
- Computes `hidden` and then uses it to determine if a single call to
  `LLVMRustSetVisibility` occurs.
- Converts some of the if/elses into boolean expressions.
- Removes the repetitive comments.

Overall this makes it quite a bit shorter, and I find it easier to read.
2024-09-19 20:10:42 +10:00
..
2024-09-17 00:09:21 +02:00
2024-07-29 08:26:52 +10:00
2024-09-11 17:24:01 -04:00
2024-07-29 08:26:52 +10:00
2024-09-11 17:24:01 -04:00
2024-09-17 00:09:21 +02:00