llvm-project/clang-tools-extra/clangd/refactor
Haojian Wu 1503a3b2e7 [clangd] Fix an assertion crash in "ExtractVariable" tweak
Summary:
GetTypePtr requires that the type should not be null, otherwise we hit
an assertion, we should use getTypePtrOrNull instead.

Reviewers: sammccall, SureYeaah

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64556

llvm-svn: 365763
2019-07-11 12:29:01 +00:00
..
tweaks [clangd] Fix an assertion crash in "ExtractVariable" tweak 2019-07-11 12:29:01 +00:00
Rename.cpp [clangd] Show better message when we rename macros. 2019-07-01 09:26:48 +00:00
Rename.h [clangd] Narrow rename to local symbols. 2019-06-25 08:43:17 +00:00
Tweak.cpp [clangd] Add SourceManager accessor to ParsedAST. NFC 2019-05-28 21:52:34 +00:00
Tweak.h [clangd] Add hidden tweaks to dump AST/selection. 2019-06-18 13:37:54 +00:00