Hi,

There are a lot of coding style mismatch in the current OpenOCD code.
I'd like suggest setting a rule that asks fixing all coding style
issues before a patch is merged.

And there are still something missing on
http://openocd.berlios.de/doc/doxygen/html/stylec.html , like

* how to deal with long list of arguments, which cannot fix in one line?
* how to place { }? I saw

  if (...) {
  } else {
  }

  if (...)
  {
  }
  else
  {
  }

* should there be a white space after ( and before )? I saw code both.


Regards,
Jie
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to