swift
6ab40f20 - [CodeCompletion] Fix issue in dependency checking for the editing file

Commit
5 years ago
[CodeCompletion] Fix issue in dependency checking for the editing file 'SM.getCodeCompletionBufferID()' returns the buffer ID of the previous code completion. 'CI.getCodeCompletionFile()->getBufferID()' always returns the original source buffer ID of the current file in the main module. The latter is needed for excluding buffer ID for dependency checking. rdar://problem/66301353 (cherry picked from commit 2f4dcf3e2f89d4f54db60c0a23aa3738f0eb70b0)
Author
Committer
Parents
Loading