Home
last modified time | relevance | path

Searched refs:declarations (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dobjc-decls-inside-namespace.mm5 @protocol P; //expected-error{{Objective-C declarations may only appear in global scope}}
7 @class Bar; //expected-error{{Objective-C declarations may only appear in global scope}}
9 @compatibility_alias Foo Bar; //expected-error{{Objective-C declarations may only appear in global …
11 @interface A //expected-error{{Objective-C declarations may only appear in global scope}}
14 @implementation A //expected-error{{Objective-C declarations may only appear in global scope}}
17 @protocol P //expected-error{{Objective-C declarations may only appear in global scope}}
20 @interface A(C) //expected-error{{Objective-C declarations may only appear in global scope}}
23 @implementation A(C) //expected-error{{Objective-C declarations may only appear in global scope}}
26 @interface B @end //expected-error{{Objective-C declarations may only appear in global scope}}
27 @implementation B //expected-error{{Objective-C declarations may only appear in global scope}}
H A Dcrash.mm45 // expected-error@-4 {{a type specifier is required for all declarations}}
52 // expected-error@-4 {{a type specifier is required for all declarations}}
59 // expected-error@-2 {{a type specifier is required for all declarations}}
/llvm-project-15.0.7/clang/bindings/python/tests/cindex/
H A Dtest_exception_specification_kind.py13 def find_function_declarations(node, declarations=[]): argument
15 declarations.append((node.spelling, node.exception_specification_kind))
17 declarations = find_function_declarations(child, declarations)
18 return declarations
29 declarations = find_function_declarations(tu.cursor)
35 self.assertListEqual(declarations, expected)
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Ddialect.td65 // DECL: a::SomeOp declarations
66 // DECL: BNS::SomeOp declarations
67 // DECL: ::C::CC::SomeOp declarations
68 // DECL: DSomeOp declarations
69 // DECL: ENS::SomeOp declarations
70 // DECL: ::E::SPECIAL_NS::SpecialNSOp declarations
H A Dop-decl-and-defs.td54 // CHECK-LABEL: NS::AOp declarations
147 // CHECK-LABEL: NS::BOp declarations
154 // CHECK-LABEL: NS::COp declarations
161 // CHECK-LABEL: NS::DOp declarations
169 // CHECK-LABEL: NS::EOp declarations
341 // CHECK-LABEL: NS::_AOp declarations
346 // CHECK-LABEL: _BOp declarations
349 // REDUCE_INC-LABEL: NS::AOp declarations
350 // REDUCE_INC-NOT: NS::BOp declarations
352 // REDUCE_EXC-NOT: NS::AOp declarations
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dimplicit-decl.c22 …alendarDecomposeAbsoluteTimeV'; ISO C99 and later do not support implicit function declarations}} \ in func()
28 …o undeclared function 'printg'; ISO C99 and later do not support implicit function declarations}} \ in func()
48 … undeclared function 'formatd'; ISO C99 and later do not support implicit function declarations}} \ in test_implicit()
55 … to undeclared function 'bark'; ISO C99 and later do not support implicit function declarations}} \ in test_suggestion()
58 … to undeclared function 'bork'; ISO C99 and later do not support implicit function declarations}} \ in test_suggestion()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dredundant-declaration.rst6 Finds redundant variable and function declarations.
19 Such redundant declarations can be removed without changing program behavior.
21 when code has been moved around. Having redundant declarations could in worst
28 * When the declarations are in different header files;
H A Dinconsistent-declaration-parameter-name.rst6 Find function declarations which differ in parameter names.
25 function declarations, for example:
/llvm-project-15.0.7/clang/docs/
H A DPCHInternals.rst98 20/82685 declarations read (0.024188%)
109 declarations, identifiers, and macros were actually deserialized from the
271 AST file. When declarations are deserialized from the AST file, the data
280 which contains all of the declarations in the translation unit but is not
294 declarations within that translation unit. When required, the declarations
296 representations of the declarations within a declaration context, which
304 declaration with that name. The actual declarations will then be
307 declaration context, all of those declarations are immediately
377 declarations.
443 declarations or macros associated with that identifier.
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/fuchsia/
H A Ddefault-arguments-declarations.rst1 .. title:: clang-tidy - fuchsia-default-arguments-declarations
3 fuchsia-default-arguments-declarations
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DClass.cpp291 for (auto &decl : declarations) in writeDeclTo()
297 for (auto &decl : declarations) in writeDefTo()
318 declarations.push_back(std::move(method)); in finalize()
325 declarations.push_back(std::move(method)); in finalize()
338 auto reverseDecls = llvm::reverse(declarations); in getLastVisibilityDecl()
/llvm-project-15.0.7/clang/test/Modules/
H A Dmodulemap-locations.m15 …clared function 'wont_be_found1'; ISO C99 and later do not support implicit function declarations}}
17 …clared function 'wont_be_found2'; ISO C99 and later do not support implicit function declarations}}
/llvm-project-15.0.7/clang/test/Headers/
H A Dopencl-builtins.cl15 // some internal consistency of declarations in OpenCLBuiltins.td. For
16 // example, addition of builtin declarations that lead to ambiguity during
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/
H A Daddress-range-limit.mm3 // RUN: %clangxx_asan %s -Wno-deprecated-declarations -flat_namespace -bundle -undefined suppress -…
4 // RUN: %clangxx_asan %s -Wno-deprecated-declarations -o %t -framework Foundation && not %run %t 2>…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dmethod-prototype-scope.m10 … // expected-warning {{use of C-style parameters in Objective-C method declarations is deprecated}}
26 … // expected-warning {{use of C-style parameters in Objective-C method declarations is deprecated}}
H A Dattr-designated-init.m9 …ER; // expected-error {{only applies to init methods of interface or class extension declarations}}
14 …ER; // expected-error {{only applies to init methods of interface or class extension declarations}}
16 …ER; // expected-error {{only applies to init methods of interface or class extension declarations}}
20 …ER; // expected-error {{only applies to init methods of interface or class extension declarations}}
29 …; } // expected-error {{only applies to init methods of interface or class extension declarations}}
32 …} // expected-error {{only applies to init methods of interface or class extension declarations}} \
442 …ZER; // expected-error{{only applies to init methods of interface or class extension declarations}}
/llvm-project-15.0.7/clang/test/Coverage/
H A Dcxx-language-features.inc29 // Friend declarations
48 // Template specialization declarations
/llvm-project-15.0.7/clang/test/Parser/
H A Dmissing-end-4.m35 @protocol P; // forward declarations of protocols in @implementations is allowed
36 @class C; // forward declarations of classes in @implementations is allowed
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDeclNodes.td17 def Named : DeclNode<Decl, "named declarations", 1>;
36 def Value : DeclNode<Named, "value declarations", 1>;
88 : DeclNode<ObjCContainer, "Objective-C implementation declarations", 1>;
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DDialectBase.td52 // An optional code block containing extra declarations to place in the
77 // When set, ODS will generate declarations for the attribute parsing and
83 // When set, ODS will generate declarations for the type parsing and printing
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dvector-constrained-fp-intrinsics-fma.ll140 ; Single width declarations
144 ; Scalar width declarations
147 ; Illegal width declarations
151 ; Double width declarations
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dunused-alias-decls.rst7 Finds unused namespace alias declarations.
H A Dunused-using-decls.rst6 Finds unused ``using`` declarations.
/llvm-project-15.0.7/polly/test/ScopInliner/
H A Dignore-declares.ll5 ; declarations and not try to query for domtree.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dtrivially-destructible.rst7 defaulted destructor declarations.

12345678910>>...12