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.cpp73 std::unique_ptr<Bucket> CurrentBucket; in randomizeStructureLayoutImpl() local
89 Buckets.push_back(std::move(CurrentBucket)); in randomizeStructureLayoutImpl()
114 if (!CurrentBucket) in randomizeStructureLayoutImpl()
115 CurrentBucket = std::make_unique<Bucket>(); in randomizeStructureLayoutImpl()
127 if (CurrentBucket->canFit(Width)) { in randomizeStructureLayoutImpl()
128 CurrentBucket->addField(FD, Width); in randomizeStructureLayoutImpl()
132 if (CurrentBucket->full()) { in randomizeStructureLayoutImpl()
134 Buckets.push_back(std::move(CurrentBucket)); in randomizeStructureLayoutImpl()
148 if (CurrentBucket) in randomizeStructureLayoutImpl()
149 Buckets.push_back(std::move(CurrentBucket)); in randomizeStructureLayoutImpl()