r229242 - Make a reference const. No behavior change.
Nico Weber
nicolasweber at gmx.de
Fri Feb 13 21:47:01 PST 2015
Author: nico
Date: Fri Feb 13 23:47:01 2015
New Revision: 229242
URL: http://llvm.org/viewvc/llvm-project?rev=229242&view=rev
Log:
Make a reference const. No behavior change.
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=229242&r1=229241&r2=229242&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Fri Feb 13 23:47:01 2015
@@ -3472,7 +3472,7 @@ Decl *Sema::ParsedFreeStandingDeclSpec(S
return ActOnFriendTypeDecl(S, DS, TemplateParams);
}
- CXXScopeSpec &SS = DS.getTypeSpecScope();
+ const CXXScopeSpec &SS = DS.getTypeSpecScope();
bool IsExplicitSpecialization =
!TemplateParams.empty() && TemplateParams.back()->size() == 0;
if (Tag && SS.isNotEmpty() && !Tag->isCompleteDefinition() &&
More information about the cfe-commits
mailing list