gecko-dev/mfbt/STYLE

12 lines
628 B
Plaintext
Raw Normal View History

MFBT uses standard Mozilla style, with the following exceptions.
- Some of the files use a lower-case letter at the start of function names.
This is because MFBT used to use a different style, and was later converted
to standard Mozilla style. These functions have not been changed to use an
upper-case letter because it would cause a lot of churn in other parts of the
codebase. However, new files should follow standard Mozilla style and use an
upper-case letter at the start of function names.
Bug 1332797 - Move mfbt/double-conversion source files into a new source/ subdirectory, to segregate upstream files from update.sh and our local patches. r=froydnj --HG-- rename : mfbt/double-conversion/LICENSE => mfbt/double-conversion/source/LICENSE rename : mfbt/double-conversion/README => mfbt/double-conversion/source/README rename : mfbt/double-conversion/bignum-dtoa.cc => mfbt/double-conversion/source/bignum-dtoa.cc rename : mfbt/double-conversion/bignum-dtoa.h => mfbt/double-conversion/source/bignum-dtoa.h rename : mfbt/double-conversion/bignum.cc => mfbt/double-conversion/source/bignum.cc rename : mfbt/double-conversion/bignum.h => mfbt/double-conversion/source/bignum.h rename : mfbt/double-conversion/cached-powers.cc => mfbt/double-conversion/source/cached-powers.cc rename : mfbt/double-conversion/cached-powers.h => mfbt/double-conversion/source/cached-powers.h rename : mfbt/double-conversion/diy-fp.cc => mfbt/double-conversion/source/diy-fp.cc rename : mfbt/double-conversion/diy-fp.h => mfbt/double-conversion/source/diy-fp.h rename : mfbt/double-conversion/double-conversion.cc => mfbt/double-conversion/source/double-conversion.cc rename : mfbt/double-conversion/double-conversion.h => mfbt/double-conversion/source/double-conversion.h rename : mfbt/double-conversion/fast-dtoa.cc => mfbt/double-conversion/source/fast-dtoa.cc rename : mfbt/double-conversion/fast-dtoa.h => mfbt/double-conversion/source/fast-dtoa.h rename : mfbt/double-conversion/fixed-dtoa.cc => mfbt/double-conversion/source/fixed-dtoa.cc rename : mfbt/double-conversion/fixed-dtoa.h => mfbt/double-conversion/source/fixed-dtoa.h rename : mfbt/double-conversion/ieee.h => mfbt/double-conversion/source/ieee.h rename : mfbt/double-conversion/strtod.cc => mfbt/double-conversion/source/strtod.cc rename : mfbt/double-conversion/strtod.h => mfbt/double-conversion/source/strtod.h rename : mfbt/double-conversion/utils.h => mfbt/double-conversion/source/utils.h extra : rebase_source : e84171373b2f766698ea48d23484ed05463a4d8a
2017-01-23 23:11:50 +00:00
- Imported third-party code (such as decimal/*, double-conversion/source/*, and
lz4*) remains in its original style.