[all-commits] [llvm/llvm-project] 6b3a11: [Headers][X86] Replace \operation with \code{.oper...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun May 8 02:47:40 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b3a111a2867ce075e70ff1fa1eac2a9e1a4156a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-05-08 (Sun, 08 May 2022)

  Changed paths:
    M clang/lib/Headers/avx512fintrin.h
    M clang/lib/Headers/avx512vlvnniintrin.h
    M clang/lib/Headers/avxvnniintrin.h
    M clang/lib/Headers/hresetintrin.h
    M clang/lib/Headers/keylockerintrin.h
    M clang/lib/Headers/uintrintrin.h

  Log Message:
  [Headers][X86] Replace \operation with \code{.operation}

\operation ... \endoperation are not valid doxygen commands and cause issues when -Wdocumentation is enabled (Issue #35297)

This patch proposes to replace them with \code{.operation} ... \endcode blocks so that the pseudo-code is correctly retained in any documentation and downstream can use the ".operation" type for its own formatting.

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

More information about the All-commits mailing list