[all-commits] [llvm/llvm-project] 348471: Add -ansi option to CompileOnly group

tbaederr via All-commits all-commits at lists.llvm.org
Tue Jan 12 10:17:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 348471575d9c24bbfb124ca5eac1589de075da88
      https://github.com/llvm/llvm-project/commit/348471575d9c24bbfb124ca5eac1589de075da88
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td

  Log Message:
  -----------
  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.




More information about the All-commits mailing list