Skip to content

Commit b51566b

Browse files
Update clang/lib/AST/DeclTemplate.cpp
Co-authored-by: Erich Keane <[email protected]>
1 parent 786d7bd commit b51566b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/DeclTemplate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ NonTypeTemplateParmDecl *NonTypeTemplateParmDecl::Create(
804804
QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes,
805805
ArrayRef<TypeSourceInfo *> ExpandedTInfos) {
806806
AutoType *AT = TInfo->getType()->getContainedAutoType();
807-
bool const HasConstraint = AT && AT->isConstrained();
807+
const bool HasConstraint = AT && AT->isConstrained();
808808
auto *NTTP =
809809
new (C, DC,
810810
additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, Expr *>(

0 commit comments

Comments
 (0)