#include "StructPackAlignCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/RecordLayout.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include <cmath>
usingnamespaceclang::ast_matchers;
namespace clang::tidy::altera {
void StructPackAlignCheck::registerMatchers(MatchFinder *Finder) { … }
CharUnits
StructPackAlignCheck::computeRecommendedAlignment(CharUnits MinByteSize) const { … }
void StructPackAlignCheck::check(const MatchFinder::MatchResult &Result) { … }
void StructPackAlignCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
}