[all-commits] [llvm/llvm-project] 5ff277: [clang-cl] Allow a colon after /Fo option (#87209)
Russell Greene via All-commits
all-commits at lists.llvm.org
Mon Apr 1 11:15:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5ff2773d4e606ac57750f1fc2aa4dc49b8dbede1
https://github.com/llvm/llvm-project/commit/5ff2773d4e606ac57750f1fc2aa4dc49b8dbede1
Author: Russell Greene <russell at shotover.com>
Date: 2024-04-01 (Mon, 01 Apr 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/Driver/cl-outputs.c
Log Message:
-----------
[clang-cl] Allow a colon after /Fo option (#87209)
Modeled after
https://github.com/llvm/llvm-project/commit/8513a681f7d8d1188706762e712168aebc3119dd#
According to
https://learn.microsoft.com/en-us/cpp/build/reference/fo-object-file-name?view=msvc-170,
`/Fo` accepts a trailing-colon variant. This is also tested in practice.
This allows clang-cl to parse this.
I just copied one of the existing tests, let me know if this is not the
best way to do this. I tested that the test does not pass beofre the
Options.td change, and that it does after.
See also #46065
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list