Skip to content

local variable in a macro can't go to definition. #3109

Closed as not planned
Closed as not planned
@Lennon925

Description

@Lennon925

Type: LanguageService

Describe the bug

  • OS and Version:
  • VS Code Version: 1.30.2
  • C/C++ Extension Version: 0.21.0
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

codes as blow:

#define do_div(n, base) ({ \
int count = 0; \
count++; \ //can't go to definition
})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions