Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DDeltaTree.cpp265 DeltaTreeInteriorNode *InsertSide; in DoInsertion() local
267 InsertSide = cast<DeltaTreeInteriorNode>(InsertRes->LHS); in DoInsertion()
269 InsertSide = cast<DeltaTreeInteriorNode>(InsertRes->RHS); in DoInsertion()
275 i = 0; e = InsertSide->getNumValuesUsed(); in DoInsertion()
276 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) in DoInsertion()
282 memmove(&InsertSide->Children[i+2], &InsertSide->Children[i+1], in DoInsertion()
284 InsertSide->Children[i+1] = SubRHS; in DoInsertion()
287 memmove(&InsertSide->Values[i+1], &InsertSide->Values[i], in DoInsertion()
289 InsertSide->Values[i] = SubSplit; in DoInsertion()
290 ++InsertSide->NumValuesUsed; in DoInsertion()
[all …]