summaryrefslogtreecommitdiff
path: root/docs/CommandGuide
diff options
context:
space:
mode:
authorZiang Wan <ziangw2@illinois.edu>2019-06-25 23:57:14 +0000
committerZiang Wan <ziangw2@illinois.edu>2019-06-25 23:57:14 +0000
commit0adc2e56cb807367f40b6862d4e82e15f7ff12fa (patch)
tree2b14fbdc2f129fdf7249907952530519767ac1c8 /docs/CommandGuide
parent7b34212e8613fbf7a7c06ddc6f46bb80a4ee7f2c (diff)
downloadclang-0adc2e56cb807367f40b6862d4e82e15f7ff12fa.tar.gz
print-supported-cpus quality of life patch.
Claim all input files so that clang does not give a warning. Add two short-cut aliases: -mcpu=? and -mtune=?. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
-rw-r--r--docs/CommandGuide/clang.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CommandGuide/clang.rst b/docs/CommandGuide/clang.rst
index f511022dd7..7b0873600f 100644
--- a/docs/CommandGuide/clang.rst
+++ b/docs/CommandGuide/clang.rst
@@ -330,6 +330,10 @@ number of cross compilers, or may only support a native target.
through --target=<architecture> or -arch <architecture>). If no target is
specified, the system default target will be used.
+.. option:: -mcpu=?, -mtune=?
+
+ Aliases of --print-supported-cpus
+
.. option:: -march=<cpu>
Specify that Clang should generate code for a specific processor family