Commit 7597e09
authored
[clang] Increase the default expression nesting limit (#104717)
Increase the default expression nesting limit from 256 to 1024
Fixes: #94728
Compile time with different Bracket depth
Clang version 20.0.0git
(https://github.com/AmrDeveloper/llvm-project.git
673b9e0)
Target: arm64-apple-darwin23.5.0
Bracket depth = 256, time = 0.243
Bracket depth = 512, time = 0.329
Bracket depth = 1024, time = 0.489
Bracket depth = 2048, time = 0.8511 parent 3b80a28 commit 7597e09
File tree
3 files changed
+5
-3
lines changed- clang
- docs
- include/clang/Driver
- test/Parser
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7959 | 7959 | | |
7960 | 7960 | | |
7961 | 7961 | | |
7962 | | - | |
| 7962 | + | |
7963 | 7963 | | |
7964 | 7964 | | |
7965 | 7965 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
0 commit comments