[PATCH] D63105: Add --print-supported-cpus flag for clang.

Ziang Wan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 14:41:26 PDT 2019


ziangwan updated this revision to Diff 204359.
ziangwan marked 6 inline comments as done.
ziangwan added a comment.

Adjust the docs: remove the redundant -mcpu flag. Add an explanation for --print-supported-cpus.
Replace one manual delete with std::unique_ptr.
Use None for an llvm::Optional value.
Add one more test case.
Adjust the message printout to include the usage of -mtune.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63105/new/

https://reviews.llvm.org/D63105

Files:
  clang/docs/ClangCommandLineReference.rst
  clang/docs/CommandGuide/clang.rst
  clang/include/clang/Driver/Options.td
  clang/include/clang/Frontend/FrontendOptions.h
  clang/lib/Driver/Driver.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/Driver/print-supported-cpus.c
  clang/tools/driver/cc1_main.cpp
  llvm/lib/MC/MCSubtargetInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63105.204359.patch
Type: text/x-patch
Size: 9144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190612/dcb8f1f6/attachment.bin>


More information about the llvm-commits mailing list