Skip to content

a bunch of micro-optimizations

shenlebantongying requested to merge (removed):master into master

Hi, I was playing bear which can generate a compile_commands.json which can be used for some popular IDEs.

https://github.com/rizsotto/Bear

I suspect if it works, so I tried it on recoll due to the complex build process. It turns out bear analyze cc's output during compilation.

Then I load the project into Clion, and here are some obvious micro improvements that I am certain.

Review by commits should be easier, they are small and each have reasoning.

I can still compile and use it for my usual tasks. Hopefully I didn't break staff in unobvious way.

Edited by shenlebantongying

Merge request reports