This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGc8f3f46c6983: [Docs] Minor fixes with language extension docs (authored by SaurabhJha).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D104971/new/ https://reviews.llvm.org/D104971 Files: clang/docs/LanguageExtensions.rst Index: clang/docs/LanguageExtensions.rst =================================================================== --- clang/docs/LanguageExtensions.rst +++ clang/docs/LanguageExtensions.rst @@ -536,6 +536,7 @@ The matrix type extension supports division on a matrix and a scalar but not on a matrix and a matrix. .. code-block:: c++ + typedef float m4x4_t __attribute__((matrix_type(4, 4))); m4x4_t f(m4x4_t a) { @@ -543,8 +544,8 @@ return a; } -The matrix type extension supports compound assignments for addition, subtraction, and multiplication between matrices -and between a matrix and a scalar, provided their types are consistent. +The matrix type extension supports compound assignments for addition, subtraction, and multiplication on matrices +and on a matrix and a scalar, provided their types are consistent. .. code-block:: c++
Index: clang/docs/LanguageExtensions.rst =================================================================== --- clang/docs/LanguageExtensions.rst +++ clang/docs/LanguageExtensions.rst @@ -536,6 +536,7 @@ The matrix type extension supports division on a matrix and a scalar but not on a matrix and a matrix. .. code-block:: c++ + typedef float m4x4_t __attribute__((matrix_type(4, 4))); m4x4_t f(m4x4_t a) { @@ -543,8 +544,8 @@ return a; } -The matrix type extension supports compound assignments for addition, subtraction, and multiplication between matrices -and between a matrix and a scalar, provided their types are consistent. +The matrix type extension supports compound assignments for addition, subtraction, and multiplication on matrices +and on a matrix and a scalar, provided their types are consistent. .. code-block:: c++
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits