Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 130 Build 130: arc lint + arc unit
Event Timeline
Comment Actions
LGTM with a small nit.
clang-tidy/google/NonConstReferences.cpp | ||
---|---|---|
71–75 | I think this would be a bit easier to read with std::find_if rather than a manual loop. If you decide to stick with the manual loop, the colon in the range-based for loop needs a preceding space. |
clang-tidy/google/NonConstReferences.cpp | ||
---|---|---|
73 | It should be possible to check the whitelist in the matcher (qualType(unless(anyOf(isConstQualified(), hasDeclaration(namedDecl(hasAnyName(WhiteListTypes)))))) or something similar). |
It should be possible to check the whitelist in the matcher (qualType(unless(anyOf(isConstQualified(), hasDeclaration(namedDecl(hasAnyName(WhiteListTypes)))))) or something similar).