Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-102046

Turn on bugprone-return-const-ref-from-parameter after upgrading to or past Clang 20

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When we upgrade to or past Clang 20, investigate reenabling the bugprone-return-const-ref-from-parameter clang-tidy check, as the mainline should at that point include an important bugfix that should make it much more usable in our codebase.

            Assignee:
            Unassigned Unassigned
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: