File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1364,11 +1364,10 @@ namespace {
13641364
13651365 private:
13661366 bool isSubstitutingConstraints () const {
1367- return llvm::any_of (
1368- llvm::reverse (SemaRef.CodeSynthesisContexts ), [](auto &Context) {
1369- return Context.Kind ==
1370- Sema::CodeSynthesisContext::ConstraintSubstitution;
1371- });
1367+ return llvm::any_of (SemaRef.CodeSynthesisContexts , [](auto &Context) {
1368+ return Context.Kind ==
1369+ Sema::CodeSynthesisContext::ConstraintSubstitution;
1370+ });
13721371 }
13731372
13741373 // CWG2770: Function parameters should be instantiated when they are
@@ -1389,7 +1388,9 @@ namespace {
13891388 void setEvaluateConstraints (bool B) {
13901389 EvaluateConstraints = B;
13911390 }
1392- bool getEvaluateConstraints () const { return EvaluateConstraints; }
1391+ bool getEvaluateConstraints () const {
1392+ return EvaluateConstraints;
1393+ }
13931394
13941395 // / Determine whether the given type \p T has already been
13951396 // / transformed.
You can’t perform that action at this time.
0 commit comments