Kai Stierand 86da763ab6 [Clang] Fix crash in CIndex, when visiting a static_assert without message
After implementation of "[Clang] Implement P2741R3 - user-generated static_assert messages"  (47ccfd7a89e2a9a747a7114db18db1376324799c) the c indexer crashes when handling a `static_assert` w/o any message.
This is caused by using `dyn_cast` to get the literal string, which isn't working on `nullptr`.

Reviewed By: cor3ntin

Differential Revision: https://reviews.llvm.org/D156053
2023-07-25 10:53:14 +02:00
..
2023-07-20 21:37:50 -07:00
2023-04-20 08:45:38 +09:00
2023-04-20 08:45:38 +09:00