Move the sorting of code-completion results out of the main path and

into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.

llvm-svn: 112095
This commit is contained in:
Douglas Gregor
2010-08-25 22:15:42 +00:00
parent 8302463dc6
commit ebb7c84891
8 changed files with 116 additions and 24 deletions

View File

@@ -582,6 +582,8 @@ namespace {
AllocatedResults.Results[I].CompletionString = StoredCompletion;
}
}
// FIXME: Add ProcessOverloadCandidates?
};
}