-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Development Platform
-
Fully Compatible
-
Service Arch 2023-10-02
An include for a rather obscure boost preprocessor header has been added by the IWYU sweep, to over 1500 c++ source files.
#include <boost/preprocessor/control/iif.hpp>
I don't really understand why IWYU would do this to a file like
"src/mongo/db/commands/server_status_metric.h", which doesn't have any macros inside it at all. It seems like IWYU made a mistake here and it should be undone.
I think maybe one of the other headers needs something from the iif.hpp header and IWYU didn't resolve that dependency appropriately.
- related to
-
SERVER-81394 replace `invariant` etc uses of boost/preprocessor
- Closed