cland core dump when use #define XXX_BEGIN(ns) namespace ns {
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. K:\Server\common\jcbase\jc/fsm/fsm.h:289:2: current parser token ';'
1. K:\Server\common\jcbase\jc/fsm/fsm.h:25:1 : parsing namespace 'jc'
[Info - 5:35:57 PM] Connection to server got closed. Server will restart.
the content in onfig.h:
Contributor guide
Research direction
Start with the crash location in fsm.h:289 and the macro spelling referenced at onfig.h:5, using the reported namespace macro form as the reproduction case. The issue needs a complete reproducer, tool version, and crash backtrace before the failure can be investigated; done means reproducing the clangd crash and documenting or testing its resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100