/external/llvm-project/clang/test/Index/ |
D | opencl-types.cl | 41 // CHECK: ParmDecl=scalarOCLImage1dRO:28:50 (Definition) [type=__private __read_only image1d_t] [ty… 42 // CHECK: ParmDecl=scalarOCLImage1dArrayRO:29:61 (Definition) [type=__private __read_only image1d_a… 43 // CHECK: ParmDecl=scalarOCLImage1dBufferRO:30:63 (Definition) [type=__private __read_only image1d_… 44 // CHECK: ParmDecl=scalarOCLImage2dRO:31:50 (Definition) [type=__private __read_only image2d_t] [ty… 45 // CHECK: ParmDecl=scalarOCLImage2dArrayRO:32:61 (Definition) [type=__private __read_only image2d_a… 46 // CHECK: ParmDecl=scalarOCLImage2dDepthRO:33:61 (Definition) [type=__private __read_only image2d_d… 47 // CHECK: ParmDecl=scalarOCLImage2dArrayDepthRO:34:72 (Definition) [type=__private __read_only imag… 48 // CHECK: ParmDecl=scalarOCLImage2dMSAARO:35:59 (Definition){{( \(invalid\))?}} [type=__private __r… 49 // CHECK: ParmDecl=scalarOCLImage2dArrayMSAARO:36:70 (Definition){{( \(invalid\))?}} [type=__privat… 50 // CHECK: ParmDecl=scalarOCLImage2dMSAADepthRO:37:70 (Definition){{( \(invalid\))?}} [type=__privat… [all …]
|
D | complete-type-factors.m | 37 // CHECK-CC1: ParmDecl:{ResultType enum Color}{TypedText color} (17) 42 // CHECK-CC1: ParmDecl:{ResultType int}{TypedText integer} (8) 44 // CHECK-CC1: ParmDecl:{ResultType enum Priority}{TypedText priority} (17) 50 // CHECK-CC2: ParmDecl:{ResultType enum Color}{TypedText color} (8) 56 // CHECK-CC2: ParmDecl:{ResultType int}{TypedText integer} (17) 58 // CHECK-CC2: ParmDecl:{ResultType enum Priority}{TypedText priority} (34) 65 // CHECK-CC3: ParmDecl:{ResultType enum Color}{TypedText color} (34) 72 // CHECK-CC3: ParmDecl:{ResultType int}{TypedText integer} (17) 74 // CHECK-CC3: ParmDecl:{ResultType enum Priority}{TypedText priority} (8) 81 // CHECK-CC4: ParmDecl:{ResultType enum Color}{TypedText color} (34) [all …]
|
D | file-refs-subscripting.m | 41 // CHECK: ParmDecl=index:22:18 42 // CHECK-NEXT: ParmDecl=index:22:18 (Definition) =[22:18 - 22:23] 46 // CHECK-NEXT: ParmDecl=p:22:28 47 // CHECK-NEXT: ParmDecl=p:22:28 (Definition) =[22:28 - 22:29]
|
D | annotate-tokens.m | 169 // CHECK: Punctuation: "*" [2:20 - 2:21] ParmDecl=other:2:22 (Definition) 170 // CHECK: Punctuation: ")" [2:21 - 2:22] ParmDecl=other:2:22 (Definition) 171 // CHECK: Identifier: "other" [2:22 - 2:27] ParmDecl=other:2:22 (Definition) 186 // CHECK: Punctuation: "*" [6:20 - 6:21] ParmDecl=other:6:22 (Definition) 187 // CHECK: Punctuation: ")" [6:21 - 6:22] ParmDecl=other:6:22 (Definition) 188 // CHECK: Identifier: "other" [6:22 - 6:27] ParmDecl=other:6:22 (Definition) 254 // CHECK: Punctuation: ")" [33:33 - 33:34] ParmDecl=arg:33:34 (Definition) 255 // CHECK: Identifier: "arg" [33:34 - 33:37] ParmDecl=arg:33:34 (Definition) 264 // CHECK: Keyword: "int" [34:14 - 34:17] ParmDecl=x:34:18 (Definition) 265 // CHECK: Punctuation: ")" [34:17 - 34:18] ParmDecl=x:34:18 (Definition) [all …]
|
D | print-type.m | 18 // CHECK: ParmDecl=z:4:52 (Definition) [type=SEL] [typekind=ObjCSel] [canonicaltype=SEL *] [canonic… 20 // CHECK: ParmDecl=i:5:27 (Definition) [In,] [type=int] [typekind=Int] [isPOD=1] 21 // CHECK: ParmDecl=j:5:49 (Definition) [Out,] [type=short *] [typekind=Pointer] [isPOD=1] [pointeet… 22 // CHECK: ParmDecl=p:6:36 (Definition) [type=__kindof Foo *] [typekind=ObjCObjectPointer] [canonica…
|
D | properties-class-extensions.m | 48 // CHECK-NOT: properties-class-extensions.m:9:15: ParmDecl=b:9:15 (Definition) Extent=[9:15 - 9:16] 54 // CHECK: properties-class-extensions.m:6:15: ParmDecl=a:6:15 (Definition) Extent=[6:15 - 6:16] 60 // CHECK: properties-class-extensions.m:9:15: ParmDecl=b:9:15 (Definition) Extent=[9:15 - 9:16] 72 // CHECK: properties-class-extensions.m:19:26: ParmDecl=bar:19:26 (Definition) Extent=[19:26 - 19:2… 89 // CHECK: properties-class-extensions.m:31:40: ParmDecl=Rdar8467189_Bar:31:40 (Definition) Extent=[… 97 // CHECK: properties-class-extensions.m:38:34: ParmDecl=qux:38:34 (Definition) Extent=[38:34 - 38:3…
|
D | TestClassForwardDecl.m | 21 // CHECK-scan: [10:18 - 10:24] ParmDecl=arg:10:21 (Definition) 40 // CHECK-load: TestClassForwardDecl.m:10:21: ParmDecl=arg:10:21
|
D | TestClassDecl.m | 26 // CHECK-scan: [13:18 - 13:24] ParmDecl=arg:13:21 (Definition) 32 // CHECK-load: TestClassDecl.m:13:21: ParmDecl=arg:13:21 (Definition) Extent=[13:15 - 13:24]
|
D | c-index-api-loadTU-test.m | 85 // CHECK: c-index-api-loadTU-test.m:8:50: ParmDecl=msg:8:50 (Definition) Extent=[8:47 - 8:53] 95 // CHECK: c-index-api-loadTU-test.m:21:36: ParmDecl=fArg:21:36 (Definition) Extent=[21:29 - 21:40] 111 // CHECK: c-index-api-loadTU-test.m:46:15: ParmDecl=argc:46:15 (Definition) Extent=[46:11 - 46:19] 112 // CHECK: c-index-api-loadTU-test.m:46:34: ParmDecl=argv:46:34 (Definition) Extent=[46:21 - 46:40] 164 // CHECK: c-index-api-loadTU-test.m:66:31: ParmDecl=arg:66:31 (Definition) Extent=[66:28 - 66:34] 178 // CHECK: c-index-api-loadTU-test.m:75:32: ParmDecl=anotherOutlet:75:32 (Definition) Extent=[75:32 … 182 // CHECK: c-index-api-loadTU-test.m:76:23: ParmDecl=cProp:76:23 (Definition) Extent=[76:23 - 76:28]
|
D | usrs.m | 181 // CHECK-source: usrs.m:3:33: ParmDecl=x:3:33 (Definition) Extent=[3:29 - 3:34] 182 // CHECK-source: usrs.m:3:40: ParmDecl=y:3:40 (Definition) Extent=[3:36 - 3:41] 213 // CHECK-source: usrs.m:31:15: ParmDecl=d1:31:15 (Definition) Extent=[31:15 - 31:17] 237 // CHECK-source: usrs.m:49:27: ParmDecl=x:49:27 (Definition) Extent=[49:23 - 49:28] 284 // CHECK-source: usrs.m:72:15: ParmDecl=:72:15 (Definition) Extent=[72:12 - 72:15] 285 // CHECK-source: usrs.m:72:20: ParmDecl=:72:20 (Definition) Extent=[72:17 - 72:20] 286 // CHECK-source: usrs.m:72:25: ParmDecl=:72:25 (Definition) Extent=[72:22 - 72:25] 307 // CHECK-source: usrs.m:89:38: ParmDecl=fn:89:38 (Definition) Extent=[89:21 - 89:40] 308 // CHECK-source: usrs.m:89:35: ParmDecl=p:89:35 (Definition) Extent=[89:30 - 89:36]
|
D | c-index-getCursor-test.m | 77 // CHECK: [19:29 - 19:40] ParmDecl=fArg:19:36 (Definition) 110 // CHECK: [44:11 - 44:19] ParmDecl=argc:44:15 (Definition) 112 // CHECK: [44:21 - 44:40] ParmDecl=argv:44:34 (Definition)
|
/external/clang/test/Index/ |
D | complete-type-factors.m | 37 // CHECK-CC1: ParmDecl:{ResultType enum Color}{TypedText color} (17) 43 // CHECK-CC1: ParmDecl:{ResultType int}{TypedText integer} (8) 45 // CHECK-CC1: ParmDecl:{ResultType enum Priority}{TypedText priority} (17) 52 // CHECK-CC2: ParmDecl:{ResultType enum Color}{TypedText color} (8) 58 // CHECK-CC2: ParmDecl:{ResultType int}{TypedText integer} (17) 60 // CHECK-CC2: ParmDecl:{ResultType enum Priority}{TypedText priority} (34) 67 // CHECK-CC3: ParmDecl:{ResultType enum Color}{TypedText color} (34) 74 // CHECK-CC3: ParmDecl:{ResultType int}{TypedText integer} (17) 76 // CHECK-CC3: ParmDecl:{ResultType enum Priority}{TypedText priority} (8) 83 // CHECK-CC4: ParmDecl:{ResultType enum Color}{TypedText color} (34) [all …]
|
D | print-type.m | 14 // CHECK: ParmDecl=z:4:52 (Definition) [type=SEL] [typekind=ObjCSel] [canonicaltype=SEL *] [canonic… 16 // CHECK: ParmDecl=i:5:27 (Definition) [In,] [type=int] [typekind=Int] [isPOD=1] 17 // CHECK: ParmDecl=j:5:49 (Definition) [Out,] [type=short *] [typekind=Pointer] [isPOD=1] [pointeet… 18 // CHECK: ParmDecl=p:6:36 (Definition) [type=__kindof Foo *] [typekind=ObjCObjectPointer] [canonica…
|
D | file-refs-subscripting.m | 41 // CHECK: ParmDecl=index:22:18 42 // CHECK-NEXT: ParmDecl=index:22:18 (Definition) =[22:18 - 22:23] 46 // CHECK-NEXT: ParmDecl=p:22:28 47 // CHECK-NEXT: ParmDecl=p:22:28 (Definition) =[22:28 - 22:29]
|
D | annotate-tokens.m | 169 // CHECK: Punctuation: "*" [2:20 - 2:21] ParmDecl=other:2:22 (Definition) 170 // CHECK: Punctuation: ")" [2:21 - 2:22] ParmDecl=other:2:22 (Definition) 171 // CHECK: Identifier: "other" [2:22 - 2:27] ParmDecl=other:2:22 (Definition) 186 // CHECK: Punctuation: "*" [6:20 - 6:21] ParmDecl=other:6:22 (Definition) 187 // CHECK: Punctuation: ")" [6:21 - 6:22] ParmDecl=other:6:22 (Definition) 188 // CHECK: Identifier: "other" [6:22 - 6:27] ParmDecl=other:6:22 (Definition) 254 // CHECK: Punctuation: ")" [33:33 - 33:34] ParmDecl=arg:33:34 (Definition) 255 // CHECK: Identifier: "arg" [33:34 - 33:37] ParmDecl=arg:33:34 (Definition) 264 // CHECK: Keyword: "int" [34:14 - 34:17] ParmDecl=x:34:18 (Definition) 265 // CHECK: Punctuation: ")" [34:17 - 34:18] ParmDecl=x:34:18 (Definition) [all …]
|
D | properties-class-extensions.m | 48 // CHECK-NOT: properties-class-extensions.m:9:15: ParmDecl=b:9:15 (Definition) Extent=[9:15 - 9:16] 54 // CHECK: properties-class-extensions.m:6:15: ParmDecl=a:6:15 (Definition) Extent=[6:15 - 6:16] 60 // CHECK: properties-class-extensions.m:9:15: ParmDecl=b:9:15 (Definition) Extent=[9:15 - 9:16] 72 // CHECK: properties-class-extensions.m:19:26: ParmDecl=bar:19:26 (Definition) Extent=[19:26 - 19:2… 89 // CHECK: properties-class-extensions.m:31:40: ParmDecl=Rdar8467189_Bar:31:40 (Definition) Extent=[… 97 // CHECK: properties-class-extensions.m:38:34: ParmDecl=qux:38:34 (Definition) Extent=[38:34 - 38:3…
|
D | TestClassForwardDecl.m | 21 // CHECK-scan: [10:18 - 10:24] ParmDecl=arg:10:21 (Definition) 40 // CHECK-load: TestClassForwardDecl.m:10:21: ParmDecl=arg:10:21
|
D | TestClassDecl.m | 26 // CHECK-scan: [13:18 - 13:24] ParmDecl=arg:13:21 (Definition) 32 // CHECK-load: TestClassDecl.m:13:21: ParmDecl=arg:13:21 (Definition) Extent=[13:15 - 13:24]
|
D | c-index-api-loadTU-test.m | 85 // CHECK: c-index-api-loadTU-test.m:8:50: ParmDecl=msg:8:50 (Definition) Extent=[8:47 - 8:53] 95 // CHECK: c-index-api-loadTU-test.m:21:36: ParmDecl=fArg:21:36 (Definition) Extent=[21:29 - 21:40] 111 // CHECK: c-index-api-loadTU-test.m:46:15: ParmDecl=argc:46:15 (Definition) Extent=[46:11 - 46:19] 112 // CHECK: c-index-api-loadTU-test.m:46:34: ParmDecl=argv:46:34 (Definition) Extent=[46:21 - 46:40] 164 // CHECK: c-index-api-loadTU-test.m:66:31: ParmDecl=arg:66:31 (Definition) Extent=[66:28 - 66:34] 178 // CHECK: c-index-api-loadTU-test.m:75:32: ParmDecl=anotherOutlet:75:32 (Definition) Extent=[75:32 … 182 // CHECK: c-index-api-loadTU-test.m:76:23: ParmDecl=cProp:76:23 (Definition) Extent=[76:23 - 76:28]
|
D | usrs.m | 181 // CHECK-source: usrs.m:3:33: ParmDecl=x:3:33 (Definition) Extent=[3:29 - 3:34] 182 // CHECK-source: usrs.m:3:40: ParmDecl=y:3:40 (Definition) Extent=[3:36 - 3:41] 213 // CHECK-source: usrs.m:31:15: ParmDecl=d1:31:15 (Definition) Extent=[31:15 - 31:17] 237 // CHECK-source: usrs.m:49:27: ParmDecl=x:49:27 (Definition) Extent=[49:23 - 49:28] 284 // CHECK-source: usrs.m:72:15: ParmDecl=:72:15 (Definition) Extent=[72:12 - 72:15] 285 // CHECK-source: usrs.m:72:20: ParmDecl=:72:20 (Definition) Extent=[72:17 - 72:20] 286 // CHECK-source: usrs.m:72:25: ParmDecl=:72:25 (Definition) Extent=[72:22 - 72:25] 307 // CHECK-source: usrs.m:89:38: ParmDecl=fn:89:38 (Definition) Extent=[89:21 - 89:40] 308 // CHECK-source: usrs.m:89:35: ParmDecl=p:89:35 (Definition) Extent=[89:30 - 89:36]
|
D | c-index-getCursor-test.m | 77 // CHECK: [19:29 - 19:40] ParmDecl=fArg:19:36 (Definition) 110 // CHECK: [44:11 - 44:19] ParmDecl=argc:44:15 (Definition) 112 // CHECK: [44:21 - 44:40] ParmDecl=argv:44:34 (Definition)
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNoexceptCheck.cpp | 65 } else if (const auto *ParmDecl = in check() local 67 FnTy = ParmDecl->getType() in check() 72 if (const auto *TSI = ParmDecl->getTypeSourceInfo()) in check()
|
D | PassByValueCheck.cpp | 194 for (const ParmVarDecl *ParmDecl : collectParamDecls(Ctor, ParamDecl)) { in check() local 195 auto ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc(); in check() 203 auto TypeRange = CharSourceRange::getTokenRange(ParmDecl->getBeginLoc(), in check()
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 249 template<typename ParmDecl, typename ArgType> 255 ParmDecl *PrevDeclWithDefaultArg; 261 llvm::PointerUnion3<ArgType, ParmDecl*, Chain*> ValueOrInherited; 263 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() 265 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl*>()) in getParmOwningDefaultArg() 268 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg() 280 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited() 285 if (auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl*>()) in get() 293 const ParmDecl *getInheritedFrom() const { in getInheritedFrom() 294 if (auto *D = ValueOrInherited.template dyn_cast<ParmDecl*>()) in getInheritedFrom() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclTemplate.h | 311 template<typename ParmDecl, typename ArgType> 317 ParmDecl *PrevDeclWithDefaultArg; 323 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; 325 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() 327 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg() 330 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg() 343 bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); } in isInherited() 349 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get() 358 const ParmDecl *getInheritedFrom() const { in getInheritedFrom() 359 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom() [all …]
|