Home
last modified time | relevance | path

Searched refs:CurrentBucket (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRandstruct.cpp71 std::unique_ptr<Bucket> CurrentBucket; in randomizeStructureLayoutImpl() local
87 Buckets.push_back(std::move(CurrentBucket)); in randomizeStructureLayoutImpl()
112 if (!CurrentBucket) in randomizeStructureLayoutImpl()
113 CurrentBucket = std::make_unique<Bucket>(); in randomizeStructureLayoutImpl()
125 if (CurrentBucket->canFit(Width)) { in randomizeStructureLayoutImpl()
126 CurrentBucket->addField(FD, Width); in randomizeStructureLayoutImpl()
130 if (CurrentBucket->full()) { in randomizeStructureLayoutImpl()
132 Buckets.push_back(std::move(CurrentBucket)); in randomizeStructureLayoutImpl()
146 if (CurrentBucket) in randomizeStructureLayoutImpl()
147 Buckets.push_back(std::move(CurrentBucket)); in randomizeStructureLayoutImpl()