Home | History | Annotate | Download | only in Format

Lines Matching defs:Change

22 WhitespaceManager::Change::IsBeforeInFile::operator()(const Change &C1,
23 const Change &C2) const {
29 WhitespaceManager::Change::Change(
45 Changes.push_back(Change(true, Tok.WhitespaceRange, Spaces,
53 Change(false, Tok.WhitespaceRange, /*Spaces=*/0,
63 Changes.push_back(Change(
68 // If we don't add a newline this change doesn't start a comment. Thus,
69 // when we align line comments, we don't need to treat this change as one.
70 // FIXME: We still need to take this change in account to properly
81 std::sort(Changes.begin(), Changes.end(), Change::IsBeforeInFile(SourceMgr));
191 Change &C = Changes[i];
211 Change &C = Changes[i];
224 const Change &C = Changes[i];
243 // Don't create a replacement, if it does not change anything.