Add -ansi option to CompileOnly group
authorTimm Bäder <tbaeder@redhat.com>
Tue, 12 Jan 2021 18:15:21 +0000 (13:15 -0500)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 12 Jan 2021 18:16:49 +0000 (13:16 -0500)
commit348471575d9c24bbfb124ca5eac1589de075da88
treeb872e20f301a4811115248dc15b25f9478324dcd
parent3d9c51d111d0c8480d10fc48fb621bac1d080449
Add -ansi option to CompileOnly group

-ansi is documented as being the "same as -std=c89", but there are
differences when passing it to a link.

Adding -ansi to said group makes sense since it's supposed to be an
alias for -std=c89 and resolves this inconsistency.
clang/include/clang/Driver/Options.td