clang-tidy MongoHeaderBracketCheck false positive

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: