[PATCH] D66564: [clang-tidy] new FPGA struct pack align check

Eugene Zelenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 13:15:31 PDT 2019


Eugene.Zelenko added inline comments.


================
Comment at: clang-tidy/fpga/StructPackAlignCheck.h:1
+//===--- StructPackAlignCheck.h - clang-tidy---------------------*- C++ -*-===//
+//
----------------
Please add space after clang-tidy. Same in source file.


================
Comment at: docs/clang-tidy/checks/fpga-struct-pack-align.rst:12
+
+Based on the "Altera SDK for OpenCL: Best Practices Guide" found here:
+https://www.altera.com/en_US/pdfs/literature/hb/opencl-sdk/aocl_optimization_guide.pdf
----------------
You could use link syntax. See Fuchsia checks as example.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66564/new/

https://reviews.llvm.org/D66564





More information about the llvm-commits mailing list