Skip to content

Commit 3970973

Browse files
committed
use explicit variable type
1 parent 3f6b1d6 commit 3970973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaDeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2656,7 +2656,7 @@ CXXBaseSpecifier *Sema::CheckBaseSpecifier(CXXRecordDecl *Class,
26562656
}
26572657

26582658
if (BaseType.hasQualifiers() && !isa<SubstTemplateTypeParmType>(BaseType)) {
2659-
auto Quals =
2659+
std::string Quals =
26602660
BaseType.getQualifiers().getAsString(Context.getPrintingPolicy());
26612661
Diag(BaseLoc, diag::warn_qual_base_type)
26622662
<< Quals << std::count(Quals.begin(), Quals.end(), ' ') + 1

0 commit comments

Comments
 (0)