diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index 2c36bb18f707..79f228f19563 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -4768,7 +4768,7 @@ class OffloadingActionBuilder final { auto *DeviceCodeSplitArg = Args.getLastArg(options::OPT_fsycl_device_code_split_EQ); // -fsycl-device-code-split is an alias to - // -fsycl-device-code-split=per_source + // -fsycl-device-code-split=auto DeviceCodeSplit = DeviceCodeSplitArg && DeviceCodeSplitArg->getValue() != StringRef("off"); // Gather information about the SYCL Ahead of Time targets. The targets