[all-commits] [llvm/llvm-project] 156b12: Add a new altera check for structure packing and a...

Frank Derry Wanye via All-commits all-commits at lists.llvm.org
Tue Sep 8 06:36:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 156b127945a8c923d141e608b7380427da024376
      https://github.com/llvm/llvm-project/commit/156b127945a8c923d141e608b7380427da024376
  Author: Frank Derry Wanye <wanyef at mail.gvsu.edu>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/CMakeLists.txt
    M clang-tools-extra/clang-tidy/ClangTidyForceLinker.h
    A clang-tools-extra/clang-tidy/altera/AlteraTidyModule.cpp
    A clang-tools-extra/clang-tidy/altera/CMakeLists.txt
    A clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.cpp
    A clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/altera-struct-pack-align.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    M clang-tools-extra/docs/clang-tidy/index.rst
    A clang-tools-extra/test/clang-tidy/checkers/altera-struct-pack-align.cpp

  Log Message:
  -----------
  Add a new altera check for structure packing and alignment.

The altera struct pack align lint check finds structs that are inefficiently
packed or aligned and recommends packing/aligning of the structs using the
packed and aligned attributes as needed in a warning.




More information about the All-commits mailing list