Skip to content

Document symbols don't appear for classes and enums with attributes #9672

@sean-mcmanus

Description

@sean-mcmanus

Environment

  • OS and Version:
  • VS Code Version:
  • C/C++ Extension Version:
  • Other extensions you installed (and if the issue persists after disabling them):
  • If using SSH remote, specify OS of remote machine:
  • A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).

Bug Summary and Steps to Reproduce

Use the repro code

Expected behavior

Document symbols should appear. Go to def and find all refs my fail too.

Code sample and Logs

enum [[nodiscard]] ee1 { ee };
enum class [[nodiscard]] ec1 { ec };
struct [[nodiscard]] es1{};
class [[nodiscard]] c1 {};

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceVisual StudioInherited from Visual StudiobugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions