We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b470d commit 1b4e90eCopy full SHA for 1b4e90e
clang/tools/clang-scan-deps/ClangScanDeps.cpp
@@ -510,7 +510,7 @@ class FullDeps {
510
JOS.object([&] {
511
JOS.attribute("clang-context-hash",
512
StringRef(I.ContextHash));
513
- if (I.ModuleName.size())
+ if (!I.ModuleName.empty())
514
JOS.attribute("module-name", (I.ModuleName));
515
if (!I.NamedModuleDeps.empty())
516
JOS.attributeArray("named-module-deps", [&] {
@@ -530,7 +530,7 @@ class FullDeps {
530
} else {
531
532
JOS.attribute("clang-context-hash", StringRef(I.ContextHash));
533
534
535
536
0 commit comments