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

Add a new dist script rule that catches inline usages that should be WT_INLINE

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Not Applicable
    • Storage Engines
    • StorEng - Defined Pipeline

      I noticed this while writing some code the other day, I created a static inline void function and run s_fast and didn't get any errors. It wasn't until a bit later I realized that should be WT_INLINE

      From a quick grep it looks like we don't do WT_INLINE in test code so we'd need to make sure it applies to src/ only.

      Scope:

      1. Add a new rule to the dist scripts, ideally by updating a script and not creating a new one but this is flexible
      2. Test

      cc: jeremy.thorp@mongodb.com 

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: