llvm-project/clang-tools-extra/pseudo/test/cxx
Haojian Wu f7dc91ad56 [pseudo] Eliminate a false parse of structured binding declaration.
Using the guard to implement part of the rule https://eel.is/c++draft/dcl.pre#6.

```
void foo() {
  // can be parsed as
  //   - structured-binding declaration (a false parse)
  //   - assignment expression
  array[index] = value;
}
```

Differential Revision: https://reviews.llvm.org/D132260
2022-08-23 15:25:52 +02:00
..
capture-list.cpp [pseudo] Use the prebuilt cxx grammar for the lit tests, NFC. 2022-07-05 15:17:18 +02:00
contextual-keywords.cpp [pseudo] Implement guard extension. 2022-07-05 15:55:15 +02:00
dangling-else.cpp [pseudo] Eliminate the dangling-else syntax ambiguity. 2022-07-22 09:13:09 +02:00
decl-specfier-seq.cpp [pseudo] Eliminate multiple-specified-types ambiguities using guards 2022-07-25 12:57:07 +02:00
declarator-function.cpp [pseudo] Implement a guard to determine function declarator. 2022-07-19 09:44:45 +02:00
declarator-var.cpp [pseudo] Implement a guard to determine function declarator. 2022-07-19 09:44:45 +02:00
declator-member-function.cpp [pseudo] Apply the function-declarator to member functions. 2022-08-12 13:49:01 +02:00
empty-member-declaration.cpp [pseudo] Eliminate an ambiguity for the empty member declaration. 2022-08-12 13:46:26 +02:00
empty-member-spec.cpp [pseudo] Define recovery strategy as grammar extension. 2022-07-06 15:03:38 +02:00
keyword.cpp [pseudo] Use the prebuilt cxx grammar for the lit tests, NFC. 2022-07-05 15:17:18 +02:00
literals.cpp [pseudo] Key guards by RuleID, add guards to literals (and 0). 2022-07-21 22:42:31 +02:00
mixed-designator.cpp [pseudo] Key guards by RuleID, add guards to literals (and 0). 2022-07-21 22:42:31 +02:00
nested-name-specifier.cpp [pseudo] Eliminate the false `::` nested-name-specifier ambiguity 2022-07-28 11:01:15 +02:00
parameter-decl-clause.cpp [pseudo] Add bracket recovery for function parameters. 2022-07-18 10:23:15 +02:00
predefined-identifier.cpp [pseudo] Use the prebuilt cxx grammar for the lit tests, NFC. 2022-07-05 15:17:18 +02:00
recovery-func-parameters.cpp [pseudo] Implement a guard to determine function declarator. 2022-07-19 09:44:45 +02:00
recovery-init-list.cpp [pseudo] Implement a guard to determine function declarator. 2022-07-19 09:44:45 +02:00
structured-binding.cpp [pseudo] Eliminate a false parse of structured binding declaration. 2022-08-23 15:25:52 +02:00
template-empty-type-parameter.cpp [pseudo] Use the prebuilt cxx grammar for the lit tests, NFC. 2022-07-05 15:17:18 +02:00
unsized-array.cpp [pseudo] Use the prebuilt cxx grammar for the lit tests, NFC. 2022-07-05 15:17:18 +02:00