[PATCH] D57944: [clangd] Fix an assertion in TypoCorrection.

2019-02-08 Thread Eric Liu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. ioeric marked an inline comment as done. Closed by commit rL353514: [clangd] Fix an assertion in TypoCorrection. (authored by ioeric, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Ch

[PATCH] D57944: [clangd] Fix an assertion in TypoCorrection.

2019-02-08 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added inline comments. This revision is now accepted and ready to land. Comment at: clangd/IncludeFixer.cpp:195 -assert(S && "Enclosing scope must be set."); - UnresolvedName Unresolved; Unresolved.Name = Typo.getAsString(); -

[PATCH] D57944: [clangd] Fix an assertion in TypoCorrection.

2019-02-08 Thread Eric Liu via Phabricator via cfe-commits
ioeric created this revision. ioeric added reviewers: sammccall, hokein. Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay, ilya-biryukov. Herald added a project: clang. https://github.com/clangd/clangd/issues/7 Repository: rCTE Clang Tools Extra https://reviews.llv