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 ff26d33 commit 26c649aCopy full SHA for 26c649a
clang/lib/Sema/SemaDeclCXX.cpp
@@ -3316,7 +3316,7 @@ inline static bool HasAttribute(const QualType &T) {
3316
return false;
3317
}
3318
3319
-inline static bool IsUnusedPrivateField(FieldDecl *FD) {
+static bool IsUnusedPrivateField(const FieldDecl *FD) {
3320
if (FD->getAccess() == AS_private && FD->getDeclName()) {
3321
QualType FieldType = FD->getType();
3322
if (HasAttribute<WarnUnusedAttr>(FieldType))
0 commit comments