[PATCH] D83546: [clangd] Fix hover crash on InitListExpr.
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 10 06:06:33 PDT 2020
kadircet added inline comments.
================
Comment at: clang-tools-extra/clangd/Hover.cpp:345
+ if (!ILE->isSemanticForm())
+ E = ILE->getSemanticForm();
+ }
----------------
shouldn't we put this before `QualType T = E->getType();` ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83546/new/
https://reviews.llvm.org/D83546
More information about the cfe-commits
mailing list