File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -253,8 +253,8 @@ class ArgList {
253
253
}
254
254
255
255
// / Return the last argument matching \p Id, or null.
256
- template <typename ...OptSpecifiers>
257
- Arg *getLastArg (OptSpecifiers ...Ids) const {
256
+ template <typename ... OptSpecifiers>
257
+ LLVM_ATTRIBUTE_NOINLINE Arg *getLastArg (OptSpecifiers... Ids) const {
258
258
Arg *Res = nullptr ;
259
259
for (Arg *A : filtered (Ids...)) {
260
260
Res = A;
@@ -265,8 +265,8 @@ class ArgList {
265
265
266
266
// / Return the last argument matching \p Id, or null. Do not "claim" the
267
267
// / option (don't mark it as having been used).
268
- template <typename ...OptSpecifiers>
269
- Arg *getLastArgNoClaim (OptSpecifiers ...Ids) const {
268
+ template <typename ... OptSpecifiers>
269
+ LLVM_ATTRIBUTE_NOINLINE Arg *getLastArgNoClaim (OptSpecifiers... Ids) const {
270
270
for (Arg *A : filtered_reverse (Ids...))
271
271
return A;
272
272
return nullptr ;
You can’t perform that action at this time.
0 commit comments