Skip to content

Conversation

@hzeller
Copy link
Contributor

@hzeller hzeller commented Oct 24, 2025

This will trigger a new misc-include-cleaner warning as the yaml-header does not have IWYU annotations. So we should ignore such clang-tidy warning for now.

I am upstreaming the necessary IWYU pragmas in
jbeder/yaml-cpp#1378

This will trigger a new `misc-include-cleaner` warning
as the yaml-header does not have IWYU annotations. So
we should ignore such clang-tidy warning for now.

I am upstreaming the necessary IWYU pragmas in
jbeder/yaml-cpp#1378

Signed-off-by: Henner Zeller <h.zeller@acm.org>
@hzeller hzeller force-pushed the feature-20251024-yaml2 branch from 78ff431 to 0ce987e Compare October 24, 2025 14:37
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

#include "objects.h"
#include "utl/Logger.h"
#include "yaml-cpp/yaml.h"
namespace odb {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header yaml.h is not used directly [misc-include-cleaner]

Suggested change
namespace odb {
namespace odb {

#include <vector>

#include "yaml-cpp/yaml.h"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header yaml.h is not used directly [misc-include-cleaner]

Suggested change

#include "odb/db.h"
#include "utl/Logger.h"
#include "yaml-cpp/yaml.h"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header yaml.h is not used directly [misc-include-cleaner]

Suggested change

#include "baseParser.h"
#include "objects.h"
#include "yaml-cpp/yaml.h"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header yaml.h is not used directly [misc-include-cleaner]

Suggested change

#include "odb/db.h"
#include "utl/Logger.h"
#include "yaml-cpp/yaml.h"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header yaml.h is not used directly [misc-include-cleaner]

Suggested change

#include "baseParser.h"
#include "objects.h"
#include "yaml-cpp/yaml.h"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: included header yaml.h is not used directly [misc-include-cleaner]

Suggested change

@hzeller
Copy link
Contributor Author

hzeller commented Oct 24, 2025

all the clang-tidy complaints shall be ignored for this one.

@hzeller
Copy link
Contributor Author

hzeller commented Oct 24, 2025

... and the CI failure is unrelated

@maliberty maliberty merged commit 91a1036 into The-OpenROAD-Project:master Oct 25, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants