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

clang-tidy MongoHeaderBracketCheck false positive

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Development Platform

    Description

      When VSCode lints src/mongo/db/query/plan_executor.cpp, I get the error:

      non-mongo include 'mongo/base/error_codes.h' should use angle bracketsclang-tidy(["<mongo/base/error_codes.h>",1657,26]) 

      This seems like a false positive as the referenced import is a mongo import and should not use angle brackets.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: