aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorKai Stierand <kai.stierand@swplusplus.de>2023-07-25 10:36:53 +0200
committerCorentin Jabot <corentinjabot@gmail.com>2023-07-25 10:53:14 +0200
commit86da763ab6ed19c58349d3f6f62d4bb52becab2c (patch)
tree2cf7e8005ade248aa6485360b82bc43b0807af48 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentca9a3354d04b15366088d7831b40f891e3d77b95 (diff)
downloadllvm-86da763ab6ed19c58349d3f6f62d4bb52becab2c.zip
llvm-86da763ab6ed19c58349d3f6f62d4bb52becab2c.tar.gz
llvm-86da763ab6ed19c58349d3f6f62d4bb52becab2c.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions