================
@@ -6518,8 +6518,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction
&JA,
CmdArgs.push_back("-relocatable-pch");
if (const Arg *A = Args.getLastArg(options::OPT_fcf_runtime_abi_EQ)) {
- static const char *kCFABIs[] = {
- "standalone", "objc", "swift", "swift-5.0", "swift-4.2", "swift-4.1",
+ constexpr char *const kCFABIs[] = {
----------------
steakhal wrote:
Isn't that outer `const` implied by the `constexpr`? If so, wouldn't it be
redundant?
https://github.com/llvm/llvm-project/pull/183287
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits