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 5bf0d70 commit 786d7bdCopy full SHA for 786d7bd
clang/lib/AST/DeclTemplate.cpp
@@ -786,7 +786,7 @@ NonTypeTemplateParmDecl *NonTypeTemplateParmDecl::Create(
786
QualType T, bool ParameterPack, TypeSourceInfo *TInfo) {
787
AutoType *AT =
788
C.getLangOpts().CPlusPlus20 ? T->getContainedAutoType() : nullptr;
789
- bool const HasConstraint = AT && AT->isConstrained();
+ const bool HasConstraint = AT && AT->isConstrained();
790
auto *NTTP =
791
new (C, DC,
792
additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, Expr *>(
0 commit comments