From fa2fc81d3464aa9b6e5e9d2ad8f512904712d2b7 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 23 Jan 2020 12:28:03 -0800 Subject: [PATCH] Re-add documentation for -flax-vector-conversions= removed in edd4398f4cd33a305afbca76ac4e6590e9337f4d. The documentation remains correct despite the revert of the patch. --- clang/docs/CommandGuide/clang.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst index 7b0873600fc..6947450beb4 100644 --- a/clang/docs/CommandGuide/clang.rst +++ b/clang/docs/CommandGuide/clang.rst @@ -278,9 +278,18 @@ Language Selection and Mode Options Make all string literals default to writable. This disables uniquing of strings and other optimizations. -.. option:: -flax-vector-conversions +.. option:: -flax-vector-conversions, -flax-vector-conversions=, -fno-lax-vector-conversions Allow loose type checking rules for implicit vector conversions. + Possible values of : + + - ``none``: allow no implicit conversions between vectors + - ``integer``: allow implicit bitcasts between integer vectors of the same + overall bit-width + - ``all``: allow implicit bitcasts between any vectors of the same + overall bit-width + + defaults to ``integer`` if unspecified. .. option:: -fblocks -- 2.11.0