Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6446

Rename *.i files into *_inline.h files

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT10.0.0, 4.4.2, 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage - Ra 2020-10-05, Storage - Ra 2020-10-19

      The WiredTiger use of XXX.i as the file name for inlined functions is a little odd, generally the XXX.i suffix is reserved for files that do not require pre-processing, and in the case of MSVC, it's a Visual Studio Intermediate file that contains the output of the preprocessor.

      References: [GCC and File Extensions|http://labor-liber.org/en/gnu-linux/development/index.php?diapo=extensions

      We're currently inconsistent, some WiredTiger XXX.h files contain inline functions, some XXX.i files contain #defines.

      We could:

      • merge the XXX.i files into XXX.h files
      • rename the XXX.i files as something else (for example, XXX_inline.h)

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: