Home
last modified time | relevance | path

Searched refs:declarator (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A Dcxx.bnf191 new-declarator := noptr-new-declarator
404 init-declarator-list := init-declarator
405 init-declarator-list := init-declarator-list , init-declarator
417 function-declarator := declarator [guard]
419 declarator := ptr-declarator
421 ptr-declarator := noptr-declarator
423 noptr-declarator := declarator-id
426 noptr-declarator := ( ptr-declarator )
525 using-declarator-list := using-declarator-list , using-declarator ..._opt
571 member-declarator-list := member-declarator
[all …]
H A DCXX.cpp114 assert(Declarator->symbol() == (SymbolID)(cxx::Symbol::declarator)); in isFunctionDeclarator()
277 SYMBOL_GUARD(declarator, isFunctionDeclarator(&N))}, in buildGuards()
279 SYMBOL_GUARD(declarator, !isFunctionDeclarator(&N))}, in buildGuards()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dsevere-syntax-error.m13 // expected-error {{expected ';' after top level declarator}}
17 // expected-error {{expected ';' after top level declarator}}
21 // expected-error {{expected ';' after top level declarator}}
H A Dcrash-on-type-args-protocols.m40 …xpected parameter declarator}} // expected-error {{expected ')'}} // expected-error {{expected fun…
H A Dcrash-on-objc-bool-literal.m7 …-error {{unknown type name 'EXPORT'}} // expected-error {{expected ';' after top level declarator}}
H A Dprotocol-archane.m46 // expected-error@-2{{expected ';' after top level declarator}}
H A Dkindof.m69 …bad_specifier_location1; // expected-error{{'__kindof' type specifier must precede the declarator}}
70 …ject bad_specifier_location2 __kindof; // expected-error{{expected ';' after top level declarator}}
H A Darc-property-decl-attrs.m292 // declaration specifier, then deallocate it when clearing the declarator.
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp164 Declarator &declarator; member in __anon29f668c70111::TypeProcessingState
198 : sema(sema), declarator(declarator), in TypeProcessingState()
206 return declarator; in getDeclarator()
1435 declarator.setInvalidType(true); in ConvertDeclSpecToType()
1553 declarator.setInvalidType(true); in ConvertDeclSpecToType()
1564 declarator.setInvalidType(true); in ConvertDeclSpecToType()
1593 declarator.setInvalidType(true); in ConvertDeclSpecToType()
1711 declarator.setInvalidType(true); in ConvertDeclSpecToType()
1719 declarator.setInvalidType(); in ConvertDeclSpecToType()
1737 declarator.setInvalidType(); in ConvertDeclSpecToType()
[all …]
/llvm-project-15.0.7/clang/test/Parser/
H A Dc2x-attributes.c67 c2x-error {{expected ';' after top level declarator}} \
78 … c2x-error {{expected ';' after top level declarator}} \
H A Dobjc-static-assert.mm72 …requires a specifier or qualifier}} expected-error{{expected parameter declarator}} expected-error…
/llvm-project-15.0.7/clang/test/Modules/
H A Dbuild-fail-notes.m8 // CHECK: error: expected ';' after top level declarator
24 // CHECK-SDIAG: Module.h:9:13: error: expected ';' after top level declarator
H A Depic-fail.m8 // CHECK: error: expected ';' after top level declarator
H A Dmalformed-overload.m3 NSLog(@"%@", path); // expected-error {{expected parameter declarator}} expected-error {{expected '…
/llvm-project-15.0.7/llvm/docs/HistoricalNotes/
H A D2001-02-06-TypeNotationDebate.txt40 Search for "In another interview, you defined the C declarator syntax as
H A D2001-02-06-TypeNotationDebateResp1.txt13 and him that the C declarator syntax is difficult and confusing.
/llvm-project-15.0.7/clang/test/Frontend/
H A Dopencl.cl22 //expected-error@-5{{expected ';' after top level declarator}}
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp1277 Declarator declarator(declSpec, ParsedAttributesView::none(), context); in ParseObjCTypeName() local
1278 ParseDeclarator(declarator); in ParseObjCTypeName()
1281 if (!declarator.isInvalidType()) { in ParseObjCTypeName()
1285 addContextSensitiveTypeNullability(*this, declarator, in ParseObjCTypeName()
1290 TypeResult type = Actions.ActOnTypeName(getCurScope(), declarator); in ParseObjCTypeName()
1297 takeDeclAttributes(*paramAttrs, declarator); in ParseObjCTypeName()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticParseKinds.td153 "qualifiers after comma in declarator list are ignored">,
167 "'_Noreturn' keyword must precede function declarator">;
222 "expected function body after function declarator">;
242 "expected ';' after top level declarator">;
375 def err_missing_param : Error<"expected parameter declarator">;
990 …"%select{'mutable'|'constexpr'|'consteval'}0 cannot appear multiple times in a lambda declarator">;
1367 "expected declarator on 'omp declare mapper' directive">;
H A DDiagnosticCommonKinds.td82 "invalid storage class specifier in function declarator">;
H A DDiagnosticSemaKinds.td355 "redundant parentheses surrounding declarator">,
427 def err_declarator_need_ident : Error<"declarator requires an identifier">;
1511 "'__kindof' type specifier must precede the declarator">;
6466 "%0 used in array declarator outside of function prototype">;
6774 "typedef declarator cannot be qualified">;
6776 "parameter declarator cannot be qualified">;
7311 "@catch parameter declarator cannot be qualified">;
7629 "exception declarator cannot be qualified">;
/llvm-project-15.0.7/clang/docs/
H A DAutomaticReferenceCounting.rst241 * block pointers (formed by applying the caret (``^``) declarator sigil to a
735 * otherwise, if the outermost non-array declarator is a pointer
736 or block pointer declarator, the qualifier initially applies to
742 where the next-innermost declarator is a function declarator, and
743 there is an block declarator within that function declarator, then
744 the qualifier applies instead to that block declarator and this rule
747 If an ownership qualifier appears on the declarator name, or on the declared
750 If an ownership qualifier appears anywhere else in a declarator, it applies to
757 declarator. However, unlike those qualifiers, there are many
H A DBlockLanguageSpec.rst38 The abstract declarator,
H A DInternalsManual.rst2800 to a declarator or declaration specifier. The parsing of attributes is handled
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A DFileCheck.rst932 // CHECK: test.cpp:[[# @LINE + 4]]:6: error: expected ';' after top level declarator

12