[all-commits] [llvm/llvm-project] d087d8: clang-cl: Accept /std:c11, /std:c17 flags
Nico Weber via All-commits
all-commits at lists.llvm.org
Fri Jan 29 07:10:44 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d087d805acb664e885e9c31a916f6cfa5dbc2186
https://github.com/llvm/llvm-project/commit/d087d805acb664e885e9c31a916f6cfa5dbc2186
Author: Nico Weber <thakis at chromium.org>
Date: 2021-01-29 (Fri, 29 Jan 2021)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/cl-options.c
Log Message:
-----------
clang-cl: Accept /std:c11, /std:c17 flags
clang-cl already defaults to C17 for .c files, but no harm
in accepting these flags. Fixes PR48185.
Differential Revision: https://reviews.llvm.org/D95575
More information about the All-commits
mailing list