Commit 0bf37a6
committed
[NFC] Remove getDefaultCallingConvention IsBuiltin
ASTContext::getDefaultCallingConvention() was documented as returning
"the default calling convention for the current target", but did not do
this, and was never intended to do this, it has always been controlled
by command-line options to deviate from the target default.
This commit changes ASTContext::getDefaultCallingConvention() to reflect
the fact that it returns the context's default calling convention, not
the target's default calling convention. The IsBuiltin parameter, which
was used to return the target's default calling convention rather than
the context's, is removed in favor of
getTargetInfo().getDefaultCallingConv() which is more explicit of the
intent.1 parent a76448c commit 0bf37a6
File tree
5 files changed
+43
-44
lines changed- clang
- include/clang/AST
- lib
- AST
- Sema
5 files changed
+43
-44
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2914 | 2914 | | |
2915 | 2915 | | |
2916 | 2916 | | |
2917 | | - | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
2918 | 2923 | | |
2919 | | - | |
2920 | | - | |
| 2924 | + | |
2921 | 2925 | | |
2922 | 2926 | | |
2923 | 2927 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12677 | 12677 | | |
12678 | 12678 | | |
12679 | 12679 | | |
12680 | | - | |
12681 | | - | |
12682 | | - | |
12683 | | - | |
| 12680 | + | |
| 12681 | + | |
| 12682 | + | |
12684 | 12683 | | |
12685 | 12684 | | |
12686 | 12685 | | |
| |||
13064 | 13063 | | |
13065 | 13064 | | |
13066 | 13065 | | |
13067 | | - | |
13068 | | - | |
| 13066 | + | |
13069 | 13067 | | |
13070 | 13068 | | |
13071 | 13069 | | |
13072 | 13070 | | |
13073 | | - | |
13074 | | - | |
13075 | | - | |
13076 | | - | |
13077 | | - | |
13078 | | - | |
13079 | | - | |
13080 | | - | |
13081 | | - | |
13082 | | - | |
13083 | | - | |
13084 | | - | |
13085 | | - | |
13086 | | - | |
13087 | | - | |
13088 | | - | |
13089 | | - | |
13090 | | - | |
13091 | | - | |
13092 | | - | |
13093 | | - | |
13094 | | - | |
13095 | | - | |
13096 | | - | |
13097 | | - | |
13098 | | - | |
13099 | | - | |
13100 | | - | |
13101 | | - | |
13102 | | - | |
13103 | | - | |
| 13071 | + | |
| 13072 | + | |
| 13073 | + | |
| 13074 | + | |
| 13075 | + | |
| 13076 | + | |
| 13077 | + | |
| 13078 | + | |
| 13079 | + | |
| 13080 | + | |
| 13081 | + | |
| 13082 | + | |
| 13083 | + | |
| 13084 | + | |
| 13085 | + | |
| 13086 | + | |
| 13087 | + | |
| 13088 | + | |
| 13089 | + | |
| 13090 | + | |
| 13091 | + | |
| 13092 | + | |
| 13093 | + | |
| 13094 | + | |
| 13095 | + | |
| 13096 | + | |
| 13097 | + | |
13104 | 13098 | | |
13105 | 13099 | | |
13106 | 13100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3467 | 3467 | | |
3468 | 3468 | | |
3469 | 3469 | | |
3470 | | - | |
3471 | | - | |
| 3470 | + | |
| 3471 | + | |
3472 | 3472 | | |
3473 | 3473 | | |
3474 | 3474 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
777 | 778 | | |
778 | 779 | | |
779 | 780 | | |
780 | | - | |
| 781 | + | |
781 | 782 | | |
782 | 783 | | |
783 | 784 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
0 commit comments