Scope->rememberConstructorScope should not remember the function scope
#20850
| Job | Run time |
|---|---|
| 1m 10s | |
| 11s | |
| 34s | |
| 17s | |
| 31s | |
| 29s | |
| 23s | |
| 20s | |
| 27s | |
| 4m 22s |