-
Notifications
You must be signed in to change notification settings - Fork 755
Use quote for vendored yaml-cpp dependency. #8731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use quote for vendored yaml-cpp dependency. #8731
Conversation
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>
78ff431 to
0ce987e
Compare
There was a problem hiding this 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 { |
There was a problem hiding this comment.
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]
| namespace odb { | |
| namespace odb { |
| #include <vector> | ||
|
|
||
| #include "yaml-cpp/yaml.h" | ||
|
|
There was a problem hiding this comment.
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]
| #include "odb/db.h" | ||
| #include "utl/Logger.h" | ||
| #include "yaml-cpp/yaml.h" | ||
|
|
There was a problem hiding this comment.
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]
| #include "baseParser.h" | ||
| #include "objects.h" | ||
| #include "yaml-cpp/yaml.h" | ||
|
|
There was a problem hiding this comment.
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]
| #include "odb/db.h" | ||
| #include "utl/Logger.h" | ||
| #include "yaml-cpp/yaml.h" | ||
|
|
There was a problem hiding this comment.
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]
| #include "baseParser.h" | ||
| #include "objects.h" | ||
| #include "yaml-cpp/yaml.h" | ||
|
|
There was a problem hiding this comment.
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]
|
all the clang-tidy complaints shall be ignored for this one. |
|
... and the CI failure is unrelated |
91a1036
into
The-OpenROAD-Project:master
This will trigger a new
misc-include-cleanerwarning 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