[llvm-dev] [RFC] compiler-rt builtins cleanup and refactoring

Petr Hosek via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 4 23:34:52 PDT 2019


With the growing usage of compiler-rt builtins at Google and in projects
like Fuchsia, we plan on making several improvements to the builtins
codebase; before we start making changes, we would like to first perform a
round of cleanups and refactoring to make the later contributions easier.

Concretely, we propose the following:

   - reformat the entire builtins codebase with clang-format
   - change comments to use the uniform C99/C++ single-line style (where
   appropriate)
   - update comments to use complete English sentences and proper prose

Basically, we are just proposing bringing the builtins code into line with
the LLVM coding standards and conventions used across the rest of the
project where they apply (clearly, function names have external constraints
and so those don't make sense to change).

Please let us know if you have concerns or other suggestions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190404/3e60e913/attachment.html>


More information about the llvm-dev mailing list