[Openmp-dev] LLVM coding conventions an the OpenMP runtime

Wilmarth, Terry L via Openmp-dev openmp-dev at lists.llvm.org
Mon Aug 8 09:18:12 PDT 2016


Hello,
We are considering the possibility of doing a conversion of the OpenMP runtime code to better comply with the LLVM coding conventions in the mid- to late-September time frame.  This would most likely involve running the code through clang-format with the LLVM style option, as well as correcting any other glaring violations of the coding conventions.

It would probably *not* involve renaming anything to adhere to naming conventions.

However, we've noted that LLVM's coding standards document says the following<http://llvm.org/docs/CodingStandards.html#introduction>:

"There are some conventions that are not uniformly followed in the code base (e.g. the naming convention). This is because they are relatively new, and a lot of code was written before they were put in place. Our long term goal is for the entire codebase to follow the convention, but we explicitly do not want patches that do large-scale reformating of existing code. On the other hand, it is reasonable to rename the methods of a class if you're about to change it in some other way. Just do the reformating as a separate commit from the functionality change."

This would definitely be a large-scale reformatting.

So I just wanted to get some feedback on this before we make plans to do this.

Thanks!
Terry
--
Terry L. Wilmarth
terry.l.wilmarth at intel.com   217/403-4251
Intel/SSG/DPD/TCAR/RAD/Threading Runtimes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20160808/7cdea0a3/attachment.html>


More information about the Openmp-dev mailing list