[all-commits] [llvm/llvm-project] ba9590: [Clang][Docs] Add help test to `-march` and `-mcpu...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon May 22 08:29:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba9590d8bc76f9d410a626c26a3d55e1381de4aa
      https://github.com/llvm/llvm-project/commit/ba9590d8bc76f9d410a626c26a3d55e1381de4aa
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-05-22 (Mon, 22 May 2023)

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

  Log Message:
  -----------
  [Clang][Docs] Add help test to `-march` and `-mcpu` to suggest `-mcpu=help`

Currently there is no documentation for these flags, users might find it
confusing to know which values are permitted. This change simply adds
documentation to suggest using `-mcpu=help` to list the availible target
names.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D151098




More information about the All-commits mailing list