clang 20.0.0git
|
Functions | |
bool | randomizeStructureLayout (const ASTContext &Context, RecordDecl *RD, llvm::SmallVectorImpl< Decl * > &FinalOrdering) |
bool clang::randstruct::randomizeStructureLayout | ( | const ASTContext & | Context, |
RecordDecl * | RD, | ||
llvm::SmallVectorImpl< Decl * > & | FinalOrdering | ||
) |
Definition at line 175 of file Randstruct.cpp.
References D, clang::DeclContext::decls(), clang::ASTContext::getLangOpts(), clang::NamedDecl::getNameAsString(), clang::RecordDecl::hasFlexibleArrayMember(), and clang::LangOptions::RandstructSeed.
Referenced by clang::Sema::ActOnFields().