aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-01-14 13:07:52 +0100
committerJan Svoboda <jan_svoboda@apple.com>2021-01-14 13:21:44 +0100
commit3bccd87a588b3c320b669686c8f006b92ff72182 (patch)
tree9aad844eed2d502d07920623941ff042f341af54 /clang/lib/Frontend/CompilerInvocation.cpp
parent19297a4171177b942832d49a3767609d2a112ae1 (diff)
downloadllvm-3bccd87a588b3c320b669686c8f006b92ff72182.zip
llvm-3bccd87a588b3c320b669686c8f006b92ff72182.tar.gz
llvm-3bccd87a588b3c320b669686c8f006b92ff72182.tar.bz2
[clang][cli] NFC: Remove SSPBufferSize assignment
This should've been part of D84669, but got overlooked. Removing the assignment is NFC, as it's also done by the marshalling infrastructure for the stack_protector_buffer_size option. Reviewed By: dexonsmith in D94488
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index f496c1d..cbe0382 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1142,8 +1142,6 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
}
Opts.LinkBitcodeFiles.push_back(F);
}
- Opts.SSPBufferSize =
- getLastArgIntValue(Args, OPT_stack_protector_buffer_size, 8, Diags);
Opts.StackProtectorGuard =
std::string(Args.getLastArgValue(OPT_mstack_protector_guard_EQ));