mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-09 02:59:31 +08:00
15 lines
407 B
Diff
15 lines
407 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
|
|
@@ -211,7 +211,7 @@ bool IsQuotedInclude(const string& s) {
|
|
}
|
|
|
|
string AddQuotes(string include_name, bool angled) {
|
|
- if (angled) {
|
|
+ if (true) {
|
|
return "<" + include_name + ">";
|
|
}
|
|
return "\"" + include_name + "\"";
|