Skip to content

Commit 59985ea

Browse files
author
Shashwathi N
committed
minor change
1 parent 742ea57 commit 59985ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Driver/ToolChains/CommonArgs.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,8 +2936,7 @@ void tools::addMCModel(const Driver &D, const llvm::opt::ArgList &Args,
29362936
Ok = CM == "small" || CM == "medium" ||
29372937
(CM == "large" && Triple.isRISCV64());
29382938
} else if (Triple.getArch() == llvm::Triple::x86_64) {
2939-
Ok = llvm::is_contained({"small", "kernel", "medium", "large"},
2940-
CM);
2939+
Ok = llvm::is_contained({"small", "kernel", "medium", "large"}, CM);
29412940
} else if (Triple.isNVPTX() || Triple.isAMDGPU() || Triple.isSPIRV()) {
29422941
// NVPTX/AMDGPU/SPIRV does not care about the code model and will accept
29432942
// whatever works for the host.

0 commit comments

Comments
 (0)