clang-cl already defaults to C17 for .c files, but no harm
in accepting these flags. Fixes PR48185.
Details
Details
- Reviewers
hans jansvoboda11 - Commits
- rGd087d805acb6: clang-cl: Accept /std:c11, /std:c17 flags
Diff Detail
Diff Detail
Paths
| Differential D95575
clang-cl: Accept /std:c11, /std:c17 flags ClosedPublic Authored by thakis on Jan 27 2021, 4:01 PM.
Details
Summary clang-cl already defaults to C17 for .c files, but no harm
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 28 2021, 4:28 AM Closed by commit rGd087d805acb6: clang-cl: Accept /std:c11, /std:c17 flags (authored by thakis). · Explain WhyJan 29 2021, 7:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 319706 clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/cl-options.c
|