llvm / llvm/llvm-project

cland core dump when use #define XXX_BEGIN(ns) namespace ns {

Open
#172,447 1 comment 0 reactions 0 assignees View on GitHub
needs-reduction
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:

Image

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.