Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UndocumentedApi: support unnamed-enum #2277

Merged
merged 1 commit into from
Nov 10, 2021

Conversation

guwirth
Copy link
Collaborator

@guwirth guwirth commented Nov 10, 2021

samples with valid documentation:

enum /*unnamed-enum*/ {
};

enum /*unnamed-enum*/ : int {
};

/** doc */
typedef enum /*unnamed-enum*/ {
} type_name_3;

typedef enum /*unnamed-enum*/ {
} type_name_4; ///< doc

/** doc */
typedef enum /*unnamed-enum*/ : int {
} type_name_5;

typedef enum /*unnamed-enum*/ : int {
} type_name_6; ///< doc

This change is Reviewable

samples:
```C++
enum /*unnamed-enum*/ {
};

enum /*unnamed-enum*/ : int {
};

/** doc */
typedef enum /*unnamed-enum*/ {
} type_name_3;

typedef enum /*unnamed-enum*/ {
} type_name_4; ///< doc

/** doc */
typedef enum /*unnamed-enum*/ : int {
} type_name_5;

typedef enum /*unnamed-enum*/ : int {
} type_name_6; ///< doc
```
@guwirth guwirth added the bug label Nov 10, 2021
@guwirth guwirth added this to the 2.0.6 milestone Nov 10, 2021
@guwirth guwirth self-assigned this Nov 10, 2021
@guwirth guwirth merged commit e265c12 into SonarOpenCommunity:master Nov 10, 2021
@guwirth guwirth deleted the unamed-enums branch July 26, 2022 09:06
@guwirth guwirth restored the unamed-enums branch July 26, 2022 09:14
@guwirth guwirth deleted the unamed-enums branch February 8, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant