jserv / MazuCC

A minimalist C compiler with x86_64 code generation
BSD 2-Clause "Simplified" License
516 stars 65 forks source link

Add macro list_for_each_safe #18

Closed yetingk closed 5 years ago

yetingk commented 5 years ago

I think this macro is better than ordinary list_free() function, it works in more situations.

jserv commented 5 years ago

Modify .clang-format to append ForEachMacros as linux-list does.