Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ecpcitest
proteas
llvm-project
Repository
df0fd1c301d6a17c1cdeea1f19154e60a5b29f47
Switch branch/tag
llvm-project
clang-tools-extra
clangd
Hover.cpp
Find file
Blame
History
Permalink
[clangd] Use castAs<> instead of getAs<> to avoid dereference of nullptr
· df0fd1c3
Simon Pilgrim
authored
Jan 23, 2022
The pointer is dereferenced immediately, so assert the cast is correct instead of returning nullptr
df0fd1c3