[PATCH] Adding doxygen comments to the LLVM intrinsics (part 1, ammintrin.h)

Dmitri Gribenko gribozavr at gmail.com
Sat May 30 22:42:58 PDT 2015


> Macros are not getting rendered in XCode at all. To say more, unrelated to the intrinsics headers, I wasn't even able to display documentation for the simplest macro that adds two numbers together. Do you know if we could work around it?


This is a known limitation of Clang.  It does not attach comments to macros.

Changing macro "intrinsics" into functions would be best.


================
Comment at: lib/Headers/ammintrin.h:193-195
@@ +192,5 @@
+///
+/// \code 
+/// This intrinsic corresponds to the \c MOVNTSS instruction.
+/// \endcode 
+///
----------------
Why is this paragraph surrounded by \code?  It is text, not program code.

http://reviews.llvm.org/D8762

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list