Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: include/libyuv/macros_msa.h

Issue 2374653002: remove guard nolints from all headers (Closed)
Patch Set: NOLINT for cast warnings Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/libyuv/cpu_id.h ('k') | include/libyuv/mjpeg_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/libyuv/macros_msa.h
diff --git a/include/libyuv/macros_msa.h b/include/libyuv/macros_msa.h
index 069ba302ed0bc6d318bb8daa3177d7e2f0cd6ff2..92ed21c38532d49083be9094e59416f3c14b4b95 100644
--- a/include/libyuv/macros_msa.h
+++ b/include/libyuv/macros_msa.h
@@ -8,17 +8,17 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef INCLUDE_LIBYUV_MACROS_MSA_H_ // NOLINT
+#ifndef INCLUDE_LIBYUV_MACROS_MSA_H_
#define INCLUDE_LIBYUV_MACROS_MSA_H_
#if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa)
#include <stdint.h>
#include <msa.h>
-#define LD_B(RTYPE, psrc) *((RTYPE*)(psrc))
+#define LD_B(RTYPE, psrc) *((RTYPE*)(psrc)) /* NOLINT */
#define LD_UB(...) LD_B(v16u8, __VA_ARGS__)
-#define ST_B(RTYPE, in, pdst) *((RTYPE*)(pdst)) = (in)
+#define ST_B(RTYPE, in, pdst) *((RTYPE*)(pdst)) = (in) /* NOLINT */
#define ST_UB(...) ST_B(v16u8, __VA_ARGS__)
/* Description : Load two vectors with 16 'byte' sized elements
@@ -73,4 +73,4 @@
#endif /* !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) */
-#endif // INCLUDE_LIBYUV_MACROS_MSA_H_ NOLINT
+#endif // INCLUDE_LIBYUV_MACROS_MSA_H_
« no previous file with comments | « include/libyuv/cpu_id.h ('k') | include/libyuv/mjpeg_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698