Home
last modified time | relevance | path

Searched refs:Declaration (Results 1 – 25 of 139) sorted by relevance

123456

/external/clang/test/Index/
Dcomment-objc-decls.m33 // CHECK: <Declaration>@protocol MyProto\n@end</Declaration>
34 // CHECK: <Declaration>- (unsigned int)MethodMyProto:(nullable id)anObject inRange:(unsigned int)ra…
35 // CHECK: <Declaration>@optional\n@property(readwrite, copy, atomic, nonnull) id PropertyMyProto;</
36 // CHECK: <Declaration>+ (id)ClassMethodMyProto;</Declaration>
48 // CHECK: Declaration>@interface NSObject {\n id IvarNSObject;\n}\n@end</Declaration>
49 // CHECK: <Declaration>id IvarNSObject</Declaration>
76 // CHECK: <Declaration>@interface MyClass : NSObject &lt;MyProto&gt; {\n id IvarMyClass;\n}\n@en…
77 // CHECK: <Declaration>id IvarMyClass</Declaration>
78 // CHECK: <Declaration>- (id)MethodMyClass;</Declaration>
79 // CHECK: <Declaration>+ (id)ClassMethodMyClass;</Declaration>
[all …]
Dannotate-comments-property-accessor.m16 …/Name><USR>c:objc(cs)AppDelegate(py)MyProperty</USR><Declaration>- (int)ReadonlyGetter;</Declarati…
22 …<USR>c:objc(cs)AppDelegate(py)GeneralProperty</USR><Declaration>- (int)GeneralProperty;</Declarati…
23 …cs)AppDelegate(py)GeneralProperty</USR><Declaration>- (void)setGeneralProperty:(int)GeneralPropert…
32 …c(cs)AppDelegate(py)PropertyInPrimaryClass</USR><Declaration>- (id)PropertyInPrimaryClass;</Declar…
33 …(py)PropertyInPrimaryClass</USR><Declaration>- (void)setPropertyInPrimaryClass:(id)PropertyInPrima…
42 …cs)AppDelegate(py)PropertyInClassExtension</USR><Declaration>- (id)GetterInClassExtension;</Declar…
52 …cs)AppDelegate(py)PropertyInClassExtension</USR><Declaration>- (id)GetterInClassExtension;</Declar…
53 …PropertyInClassExtension</USR><Declaration>- (void)setPropertyInClassExtension:(id)PropertyInClass…
Doverriding-method-comments.mm22 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)AAA;</Declaratio…
31 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)BBB;</Declaratio…
37 …<Name>METH:</Name><USR>c:objc(cs)Root(im)METH:</USR><Declaration>- (void)METH:(id)III;</Declaratio…
51 …USR>c:objc(cs)Redec(im)EXT_METH:::</USR><Declaration>- (void)EXT_METH:(id)AAA:(double)BBB:(int)CCC…
57 …USR>c:objc(cs)Redec(im)EXT_METH:::</USR><Declaration>- (void)EXT_METH:(id)PPP:(double)QQQ:(int)RRR…
64 …_pure</Name><USR>c:@S@Base@F@foo_pure#I#</USR><Declaration>virtual void foo_pure(int AAA) = 0</Dec…
70 …line</Name><USR>c:@S@Base@F@foo_inline#I#</USR><Declaration>virtual void foo_inline(int BBB)</Decl…
76 …/Name><USR>c:@S@Base@F@foo_outofline#I#</USR><Declaration>virtual void foo_outofline(int CCC)</Dec…
81 …ine</Name><USR>c:@S@Base@F@foo_outofline#I#</USR><Declaration>void foo_outofline(int RRR)</Declara…
86 …oo_pure</Name><USR>c:@S@Base@F@foo_pure#I#</USR><Declaration>virtual void foo_pure(int PPP)</Decla…
[all …]
Dannotate-comments-typedef.m20 …me>&lt;anonymous&gt;</Name><USR>c:@EA@MyEnum</USR><Declaration>typedef enum MyEnum MyEnum</Declara…
30 …LINE-6]]" column="6"><Name>E</Name><USR>c:@E@E</USR><Declaration>enum E{{( : int)?}} {}</Declarati…
31 …@LINE-2]]" column="16"><Name>E</Name><USR>c:@E@E</USR><Declaration>typedef enum E E_T</Declaration
38 …"><Name>&lt;anonymous&gt;</Name><USR>c:@SA@Foo</USR><Declaration>typedef struct Foo Foo</Declarati…
39 …umn="9"><Name>&lt;anonymous&gt;</Name><USR>c:@SA@Foo</USR><Declaration>struct {}</Declaration><Abs…
48 …e><USR>c:annotate-comments-typedef.m@T@Foo1T</USR><Declaration>typedef struct Foo1 Foo1T</Declarat…
Dcomment-unqualified-objc-pointer.m18 // CHECK: <Declaration>- (NSString *)WithLabel:(NSString *const)label;</Declaration>
22 // CHECK: <Declaration>@property(readwrite, copy, atomic) NSString *Name;</Declaration>
29 // CHECK: <Declaration>NSString *NickName</Declaration>
Dheaderfile-comment-to-html.m20 …e.h &lt;Foundation/Device.h&gt;</Para></Headerfile><Declaration>@interface Device\n@end</Declarati…
42 …> Sensor.h &quot;Sensor.h&quot;</Para></Headerfile><Declaration>@interface Sensor\n@end</Declarati…
65 …TFoundation/VTDevice.h&gt;</Para></Headerfile><Declaration>@interface VTDevice : Device\n@end</Dec…
86 …erfile><Para> &lt;stdio.h&gt;</Para></Headerfile><Declaration>extern void uses_stdio_h()</Declara…
102 …ile><Para> &lt;algorithm&gt;</Para></Headerfile><Declaration>extern void uses_argorithm()</Declar…
Dcomment-objc-parameterized-classes.m16 // CHECK: <Declaration>@interface A &lt;__covariant T : id, U : NSObject *&gt; : NSObject
21 // CHECK: <Declaration>@interface AA : A &lt;id, NSObject *&gt;
/external/clang/docs/
DRAVFrontendAction.rst77 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
80 Declaration->dump();
95 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
96 if (Declaration->getQualifiedNameAsString() == "n::m::C")
97 Declaration->dump();
127 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
128 if (Declaration->getQualifiedNameAsString() == "n::m::C") {
131 FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
161 bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
162 if (Declaration->getQualifiedNameAsString() == "n::m::C") {
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c108 copy_token(&decl->Declaration, &token); in tgsi_parse_token()
112 if (decl->Declaration.Dimension) { in tgsi_parse_token()
116 if( decl->Declaration.Interpolate ) { in tgsi_parse_token()
120 if( decl->Declaration.Semantic ) { in tgsi_parse_token()
124 if (decl->Declaration.File == TGSI_FILE_IMMEDIATE_ARRAY) { in tgsi_parse_token()
135 if (decl->Declaration.File == TGSI_FILE_RESOURCE) { in tgsi_parse_token()
139 if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) { in tgsi_parse_token()
Dtgsi_dump.c248 ENM(decl->Declaration.File, tgsi_file_names); in iter_declaration()
251 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
256 if (decl->Declaration.Dimension) { in iter_declaration()
272 decl->Declaration.UsageMask ); in iter_declaration()
274 if (decl->Declaration.Local) in iter_declaration()
277 if (decl->Declaration.Semantic) { in iter_declaration()
288 if (decl->Declaration.File == TGSI_FILE_RESOURCE) { in iter_declaration()
297 if (decl->Declaration.File == TGSI_FILE_SAMPLER_VIEW) { in iter_declaration()
316 if (decl->Declaration.Interpolate) { in iter_declaration()
318 decl->Declaration.File == TGSI_FILE_INPUT) in iter_declaration()
[all …]
Dtgsi_build.c335 full_declaration.Declaration = tgsi_default_declaration(); in tgsi_default_full_declaration()
363 full_decl->Declaration.File, in tgsi_build_full_declaration()
364 full_decl->Declaration.UsageMask, in tgsi_build_full_declaration()
365 full_decl->Declaration.Interpolate, in tgsi_build_full_declaration()
366 full_decl->Declaration.Dimension, in tgsi_build_full_declaration()
367 full_decl->Declaration.Semantic, in tgsi_build_full_declaration()
368 full_decl->Declaration.Invariant, in tgsi_build_full_declaration()
369 full_decl->Declaration.Local, in tgsi_build_full_declaration()
383 if (full_decl->Declaration.Dimension) { in tgsi_build_full_declaration()
397 if (full_decl->Declaration.Interpolate) { in tgsi_build_full_declaration()
[all …]
/external/clang/lib/AST/
DTemplateBase.cpp115 case Declaration: in isDependent()
155 case Declaration: in isInstantiationDependent()
183 case Declaration: in isPackExpansion()
206 case Declaration: in containsUnexpandedParameterPack()
261 case Declaration: in Profile()
311 case Declaration: in structurallyEquals()
342 case Declaration: in getPackExpansionPattern()
368 case Declaration: { in print()
431 case TemplateArgument::Declaration: in getSourceRange()
477 case TemplateArgument::Declaration: in operator <<()
/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp134 llvm::Value *Declaration; in runOnModule() local
136 Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage, in runOnModule()
140 Declaration = in runOnModule()
145 CurI->replaceAllUsesWith(Declaration); in runOnModule()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c205 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in pstip_transform_decl()
211 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in pstip_transform_decl()
216 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in pstip_transform_decl()
300 decl.Declaration.File = TGSI_FILE_INPUT; in pstip_transform_inst()
301 decl.Declaration.Interpolate = 1; in pstip_transform_inst()
302 decl.Declaration.Semantic = 1; in pstip_transform_inst()
313 decl.Declaration.File = TGSI_FILE_SAMPLER; in pstip_transform_inst()
320 decl.Declaration.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c83 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_temp()
96 decl.Declaration.File = TGSI_FILE_OUTPUT; in emit_output()
97 decl.Declaration.Interpolate = 1; in emit_output()
98 decl.Declaration.Semantic = TRUE; in emit_output()
151 if (decl->Declaration.File == TGSI_FILE_OUTPUT) { in transform_decl()
205 } else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in transform_decl()
214 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in transform_decl()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h634 const NamedDecl *Declaration;
689 CodeCompletionResult(const NamedDecl *Declaration,
694 : Declaration(Declaration), Priority(Priority),
705 : Declaration(nullptr), Keyword(Keyword), Priority(Priority),
715 : Declaration(nullptr), Macro(Macro), Priority(Priority), StartParameter(0),
728 : Declaration(D), Pattern(Pattern), Priority(Priority), StartParameter(0),
740 : Declaration(D), Pattern(Pattern), Priority(Priority), StartParameter(0),
751 return Declaration;
/external/clang/lib/Sema/
DCodeCompleteConsumer.cpp443 OS << *Results[I].Declaration; in ProcessCodeCompleteResults()
536 if (!Declaration) { in computeCursorKindAndAvailability()
544 switch (getDeclAvailability(Declaration)) { in computeCursorKindAndAvailability()
559 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(Declaration)) in computeCursorKindAndAvailability()
563 CursorKind = getCursorKindForDecl(Declaration); in computeCursorKindAndAvailability()
568 if (isa<ObjCInterfaceDecl>(Declaration)) in computeCursorKindAndAvailability()
570 else if (isa<ObjCProtocolDecl>(Declaration)) in computeCursorKindAndAvailability()
608 DeclarationName Name = R.Declaration->getDeclName(); in getOrderedName()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c144 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in pstip_transform_decl()
151 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in pstip_transform_decl()
156 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in pstip_transform_decl()
236 decl.Declaration.File = TGSI_FILE_INPUT; in pstip_transform_inst()
237 decl.Declaration.Interpolate = 1; in pstip_transform_inst()
238 decl.Declaration.Semantic = 1; in pstip_transform_inst()
249 decl.Declaration.File = TGSI_FILE_SAMPLER; in pstip_transform_inst()
256 decl.Declaration.File = TGSI_FILE_TEMPORARY; in pstip_transform_inst()
Ddraw_pipe_aaline.c157 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in aa_transform_decl()
162 else if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in aa_transform_decl()
169 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_transform_decl()
177 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_transform_decl()
238 decl.Declaration.File = TGSI_FILE_INPUT; in aa_transform_inst()
240 decl.Declaration.Interpolate = 1; in aa_transform_inst()
241 decl.Declaration.Semantic = 1; in aa_transform_inst()
251 decl.Declaration.File = TGSI_FILE_SAMPLER; in aa_transform_inst()
258 decl.Declaration.File = TGSI_FILE_TEMPORARY; in aa_transform_inst()
264 decl.Declaration.File = TGSI_FILE_TEMPORARY; in aa_transform_inst()
Ddraw_pipe_aapoint.c138 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in aa_transform_decl()
143 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_transform_decl()
151 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_transform_decl()
202 decl.Declaration.File = TGSI_FILE_INPUT; in aa_transform_inst()
204 decl.Declaration.Interpolate = 1; in aa_transform_inst()
205 decl.Declaration.Semantic = 1; in aa_transform_inst()
215 decl.Declaration.File = TGSI_FILE_TEMPORARY; in aa_transform_inst()
221 decl.Declaration.File = TGSI_FILE_TEMPORARY; in aa_transform_inst()
/external/clang/include/clang/AST/
DTemplateBase.h50 Declaration, enumerator
137 DeclArg.Kind = Declaration; in TemplateArgument()
245 assert(getKind() == Declaration && "Unexpected kind"); in getAsDecl()
250 assert(getKind() == Declaration && "Unexpected kind"); in getParamTypeForDecl()
482 assert(Argument.getKind() == TemplateArgument::Declaration); in getSourceDeclExpression()
/external/clang/lib/Index/
DCommentToXML.cpp567 SmallString<128> &Declaration);
594 const DeclInfo *DI, SmallString<128> &Declaration) { in formatTextOfDeclaration() argument
597 std::string StringDecl = Declaration.str(); in formatTextOfDeclaration()
608 unsigned Length = Declaration.size(); in formatTextOfDeclaration()
614 Declaration = FormatRewriterContext.getRewrittenText(ID); in formatTextOfDeclaration()
950 SmallString<128> Declaration; in visitFullComment() local
951 getSourceTextOfDeclaration(DI, Declaration); in visitFullComment()
952 formatTextOfDeclaration(DI, Declaration); in visitFullComment()
953 appendToResultWithXMLEscaping(Declaration); in visitFullComment()
/external/v8/src/ast/
Dprettyprinter.h90 void PrintDeclarations(ZoneList<Declaration*>* declarations);
118 void PrintDeclarations(ZoneList<Declaration*>* declarations);
Dscopes.h224 void AddDeclaration(Declaration* declaration);
245 Declaration* CheckConflictingVarDeclarations();
478 ZoneList<Declaration*>* declarations() { return &decls_; } in declarations()
633 ZoneList<Declaration*> decls_;
/external/llvm/test/Verifier/
Dcomdat-decl2.ll5 ; CHECK: Declaration may not be in a Comdat!

123456