Rename c preprocessor macro that guards access to invariant.h header.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2021-05-03, Security 2021-05-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The C preprocessor macro MONGO_INCLUDE_INVARIANT_H_WHITELISTED is used to identify headers that are allowed to directly include the file src/mongo/util/invariant.h. This ticket is to rename the macro to MONGO_ALLOW_INCLUDE_INVARIANT_H.

      Folding in work from similar small tickets:

      • SERVER-51062 Remove references to unconsulted preprocessor macro MONGO_PCH_WHITELISTED
      • SERVER-51063 Rename C preprocessor macro that guards access to DNS query implementations

            Assignee:
            Sara Golemon (Inactive)
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: