Commit 069edae
committed
[clang][AST] Pass ProfileArguments by value in findSpecialization{Impl,Locally}
The arguments passed are lightweight (an ArrayRef and a pointer),
and findSpecializationImpl passes them to multiple functions,
making it a potential hazard to pass them by rvalue reference
(even though no one was in fact moving them).1 parent b35f6e2 commit 069edae
File tree
2 files changed
+10
-15
lines changed- clang
- include/clang/AST
- lib/AST
2 files changed
+10
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
784 | | - | |
785 | | - | |
| 784 | + | |
| 785 | + | |
786 | 786 | | |
787 | | - | |
| 787 | + | |
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
792 | | - | |
793 | | - | |
| 792 | + | |
794 | 793 | | |
795 | 794 | | |
796 | 795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
| 389 | + | |
391 | 390 | | |
392 | 391 | | |
393 | 392 | | |
| |||
396 | 395 | | |
397 | 396 | | |
398 | 397 | | |
399 | | - | |
| 398 | + | |
400 | 399 | | |
401 | | - | |
402 | | - | |
| 400 | + | |
403 | 401 | | |
404 | 402 | | |
405 | | - | |
406 | | - | |
| 403 | + | |
407 | 404 | | |
408 | 405 | | |
409 | | - | |
410 | | - | |
| 406 | + | |
411 | 407 | | |
412 | 408 | | |
413 | 409 | | |
| |||
0 commit comments