[Tile-serving] [openstreetmap/osm2pgsql] Add config for clang-format (#662)
Paul Norman
notifications at github.com
Thu Dec 22 23:21:30 UTC 2016
pnorman commented on this pull request.
>
Names should use underscores, not camel case, with class/struct names ending in `_t`.
Headers should be included in the order `config.h`, C++ standard library headers,
C library headers, Boost headers, and last osm2pgsql files.
+There is a .clang-format configuration avialable and all code must be run through
+clang-format before submitting. You can use git-clang-format after staging all
+your changes:
+
+ git-clang-format -style=file *pp tests/*pp
`git-clang-format-3.8 -style=file *pp tests/*pp` reports `git-clang-format-3.8: error: unrecognized arguments: -style=file`, but it seems to work with `--style=file`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/662#pullrequestreview-14246569
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20161222/0089c175/attachment.html>
More information about the Tile-serving
mailing list