mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
The new IWYU release includes several improvements and bug fixes, including: - https://github.com/include-what-you-use/include-what-you-use/pull/1991 - https://github.com/include-what-you-use/include-what-you-use/pull/2013 - https://github.com/include-what-you-use/include-what-you-use/pull/2014 - https://github.com/include-what-you-use/include-what-you-use/pull/2058 - https://github.com/include-what-you-use/include-what-you-use/pull/2062 - https://github.com/include-what-you-use/include-what-you-use/pull/2093
15 lines
404 B
Diff
15 lines
404 B
Diff
Prefer angled brackets over quotes for include directives.
|
|
See: https://en.cppreference.com/w/cpp/preprocessor/include.html.
|
|
|
|
--- a/iwyu_path_util.cc
|
|
+++ b/iwyu_path_util.cc
|
|
@@ -222,7 +222,7 @@ bool IsQuotedInclude(StringRef s) {
|
|
}
|
|
|
|
string AddQuotes(string include_name, bool angled) {
|
|
- if (angled) {
|
|
+ if (true) {
|
|
return "<" + include_name + ">";
|
|
}
|
|
return "\"" + include_name + "\"";
|