Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExtractVariable.cpp205 llvm::SmallVector<const SelectionTree::Node*, 8> SelectedOperands; member
209 SelectedOperands.clear(); in parse()
215 SelectedOperands = N.Children; in parse()
231 SelectedOperands.push_back(Child); in parse()
256 for (const SelectionTree::Node *Child : SelectedOperands) in crossesMacroBoundary()
281 Op.crossesMacroBoundary(SM) || Op.SelectedOperands.size() != 2) in getBinaryOperatorRange()
289 const SelectionTree::Node *Start = Op.SelectedOperands.front(); // LHS in getBinaryOperatorRange()
290 const SelectionTree::Node *End = Op.SelectedOperands.back(); // RHS in getBinaryOperatorRange()
295 assert(!Op.SelectedOperands.empty() && "got only operator on one side!"); in getBinaryOperatorRange()
296 if (Op.SelectedOperands.size() == 1) { // Only Op.RHS selected in getBinaryOperatorRange()
[all …]