File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ readConstraintSatisfaction(ASTRecordReader &Record) {
732
732
unsigned NumDetailRecords = Record.readInt ();
733
733
for (unsigned i = 0 ; i != NumDetailRecords; ++i) {
734
734
Expr *ConstraintExpr = Record.readExpr ();
735
- if (bool IsDiagnostic = Record.readInt ()) {
735
+ if (/* IsDiagnostic */ Record.readInt ()) {
736
736
SourceLocation DiagLocation = Record.readSourceLocation ();
737
737
std::string DiagMessage = Record.readString ();
738
738
Satisfaction.Details .emplace_back (
@@ -822,7 +822,7 @@ void ASTStmtReader::VisitRequiresExpr(RequiresExpr *E) {
822
822
Req.emplace ();
823
823
} else {
824
824
NoexceptLoc = Record.readSourceLocation ();
825
- switch (auto returnTypeRequirementKind = Record.readInt ()) {
825
+ switch (/* returnTypeRequirementKind */ Record.readInt ()) {
826
826
case 0 :
827
827
// No return type requirement.
828
828
Req.emplace ();
@@ -853,7 +853,7 @@ void ASTStmtReader::VisitRequiresExpr(RequiresExpr *E) {
853
853
std::move (*Req));
854
854
} break ;
855
855
case concepts::Requirement::RK_Nested: {
856
- if (bool IsSubstitutionDiagnostic = Record.readInt ()) {
856
+ if (/* IsSubstitutionDiagnostic */ Record.readInt ()) {
857
857
R = new (Record.getContext ()) concepts::NestedRequirement (
858
858
readSubstitutionDiagnostic (Record));
859
859
break ;
You can’t perform that action at this time.
0 commit comments