mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a -ignore-always-inline frontend flag which ignores @inline(__always) attributes. (#33466)
This commit is contained in:
committed by
GitHub
parent
9f2db6cdda
commit
5bf15f81b1
@@ -1128,6 +1128,8 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
Opts.AssumeSingleThreaded = true;
|
||||
}
|
||||
|
||||
Opts.IgnoreAlwaysInline |= Args.hasArg(OPT_ignore_always_inline);
|
||||
|
||||
// Parse the assert configuration identifier.
|
||||
if (const Arg *A = Args.getLastArg(OPT_AssertConfig)) {
|
||||
StringRef Configuration = A->getValue();
|
||||
|
||||
Reference in New Issue
Block a user