-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[C23][Parser] Diagnostic for attribute declaration where statement is required #146224
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
Changes from 5 commits
43e2dc6
a4923f7
a07b1a7
83ea0b7
6256229
8415f60
2e0a965
77b6d47
e131ad3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7168,13 +7168,16 @@ class Parser : public CodeCompletionHandler { | |
| AllowStandaloneOpenMPDirectives = 0x2, | ||
| /// This context is at the top level of a GNU statement expression. | ||
| InStmtExpr = 0x4, | ||
| /// This context is the C99 secondary-block in selection or iteration | ||
| /// statement. | ||
| SecondaryBlockInC = 0x8, | ||
|
||
|
|
||
| /// The context of a regular substatement. | ||
| SubStmt = 0, | ||
| /// The context of a compound-statement. | ||
| Compound = AllowDeclarationsInC | AllowStandaloneOpenMPDirectives, | ||
|
|
||
| LLVM_MARK_AS_BITMASK_ENUM(InStmtExpr) | ||
| LLVM_MARK_AS_BITMASK_ENUM(SecondaryBlockInC) | ||
| }; | ||
|
|
||
| /// Act on an expression statement that might be the last statement in a | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.