| /llvm-project-15.0.7/clang/test/Index/ |
| H A 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… 44 // CHECK: ParmDecl=scalarOCLImage2dRO:31:50 (Definition) [type=__private __read_only image2d_t] [ty… 52 // CHECK: ParmDecl=scalarOCLImage3dRO:39:50 (Definition) [type=__private __read_only image3d_t] [ty… 67 // CHECK: ParmDecl=scalarOCLImage1dWO:54:51 (Definition) [type=__private __write_only image1d_t] [t… 70 // CHECK: ParmDecl=scalarOCLImage2dWO:57:51 (Definition) [type=__private __write_only image2d_t] [t… 93 // CHECK: ParmDecl=scalarOCLImage1dRW:80:51 (Definition) [type=__private __read_write image1d_t] [t… 96 // CHECK: ParmDecl=scalarOCLImage2dRW:83:51 (Definition) [type=__private __read_write image2d_t] [t… 104 // CHECK: ParmDecl=scalarOCLImage3dRW:91:51 (Definition) [type=__private __read_write image3d_t] [t… 109 // CHECK: ParmDecl=scalarPipe:106:46 (Definition) [type=__private read_only pipe int] [typekind=Pip… [all …]
|
| H A D | complete-type-factors.m | 37 // CHECK-CC1: ParmDecl:{ResultType enum Color}{TypedText color} (17) 42 // CHECK-CC1: ParmDecl:{ResultType int}{TypedText integer} (8) 50 // CHECK-CC2: ParmDecl:{ResultType enum Color}{TypedText color} (8) 56 // CHECK-CC2: ParmDecl:{ResultType int}{TypedText integer} (17) 65 // CHECK-CC3: ParmDecl:{ResultType enum Color}{TypedText color} (34) 72 // CHECK-CC3: ParmDecl:{ResultType int}{TypedText integer} (17) 88 // CHECK-CC4: ParmDecl:{ResultType int}{TypedText integer} (34) 99 // CHECK-CC6: ParmDecl:{ResultType enum Color}{TypedText color} (8) 106 // CHECK-CC6: ParmDecl:{ResultType int}{TypedText integer} (17) 114 // CHECK-CC7: ParmDecl:{ResultType A *}{TypedText a} (34) [all …]
|
| H A 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) 186 // CHECK: Punctuation: "*" [6:20 - 6:21] ParmDecl=other:6:22 (Definition) 187 // CHECK: Punctuation: ")" [6:21 - 6:22] ParmDecl=other:6:22 (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) 266 // CHECK: Identifier: "x" [34:18 - 34:19] ParmDecl=x:34:18 (Definition) 310 // CHECK: Keyword: "int" [43:15 - 43:18] ParmDecl=x:43:19 (Definition) 311 // CHECK: Punctuation: ")" [43:18 - 43:19] ParmDecl=x:43:19 (Definition) 312 // CHECK: Identifier: "x" [43:19 - 43:20] ParmDecl=x:43:19 (Definition) [all …]
|
| H A 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]
|
| H A 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…
|
| H A 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…
|
| H A 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
|
| H A 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]
|
| H A 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]
|
| H A 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]
|
| H A 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)
|
| H A D | complete-declarators.m | 50 // CHECK-CC3: ParmDecl:{ResultType id}{TypedText param1} (34) 56 // CHECK-CC4: ParmDecl:{ResultType id}{TypedText param1} (34)
|
| H A D | complete-lambdas.mm | 33 // CHECK-CC3: ParmDecl:{ResultType A *}{TypedText a} (34)
|
| H A D | complete-at-exprstmt.m | 41 // CHECK-CC3: ParmDecl:{ResultType int}{TypedText arg}
|
| H A D | complete-exprs.m | 40 // CHECK-CC3: ParmDecl:{ResultType id}{TypedText param1} (34)
|
| H A D | complete-objc-message.m | 326 // CHECK-BLOCK-RECEIVER: ParmDecl:{ResultType A *(^)(int)}{TypedText block1} (34) 327 // CHECK-BLOCK-RECEIVER-NEXT: ParmDecl:{ResultType id (^)(int)}{TypedText block3} (34)
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | PassByValueCheck.cpp | 271 for (const ParmVarDecl *ParmDecl : collectParamDecls(Ctor, ParamDecl)) { in check() local 272 TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc(); in check() 281 for (const ParmVarDecl *ParmDecl : collectParamDecls(Ctor, ParamDecl)) { in check() local 282 TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc(); in check() 287 ParmDecl->getBeginLoc(), ParamTL.getEndLoc()); in check()
|
| H A 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()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclTemplate.h | 314 template<typename ParmDecl, typename ArgType> 320 ParmDecl *PrevDeclWithDefaultArg; 326 llvm::PointerUnion<ArgType, ParmDecl*, Chain*> ValueOrInherited; 328 static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) { in getParmOwningDefaultArg() 330 if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>()) in getParmOwningDefaultArg() 333 .ValueOrInherited.template is<ParmDecl *>() && in getParmOwningDefaultArg() 352 if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>()) in get() 361 const ParmDecl *getInheritedFrom() const { in getInheritedFrom() 362 if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>()) in getInheritedFrom() 376 void setInherited(const ASTContext &C, ParmDecl *InheritedFrom) { in setInherited() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | IdentifierNamingCheck.h | 181 bool isParamInMainLikeFunction(const ParmVarDecl &ParmDecl,
|
| H A D | IdentifierNamingCheck.cpp | 976 const ParmVarDecl &ParmDecl, bool IncludeMainLike) const { in isParamInMainLikeFunction() argument 978 dyn_cast_or_null<FunctionDecl>(ParmDecl.getParentFunctionOrMethod()); in isParamInMainLikeFunction()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 1496 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCMethodDecl() local 1498 ParseDeclarator(ParmDecl); in ParseObjCMethodDecl() 1499 IdentifierInfo *ParmII = ParmDecl.getIdentifier(); in ParseObjCMethodDecl() 1500 Decl *Param = Actions.ActOnParamDeclarator(getCurScope(), ParmDecl); in ParseObjCMethodDecl() 1502 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl() 2549 Declarator ParmDecl(DS, ParsedAttributesView::none(), in ParseObjCTryStmt() local 2551 ParseDeclarator(ParmDecl); in ParseObjCTryStmt() 2555 FirstPart = Actions.ActOnObjCExceptionDecl(getCurScope(), ParmDecl); in ParseObjCTryStmt()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | load-module-with-errors.m | 110 // SOURCE: load-module-with-errors.m:9:18: ParmDecl=x:9:18 (Definition) Extent=[9:11 - 9:19]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 1617 template <typename ParmDecl> 1619 hasAcceptableDefaultArgument(Sema &S, const ParmDecl *D, in hasAcceptableDefaultArgument() 1625 llvm::SmallDenseSet<const ParmDecl *, 4> Visited; in hasAcceptableDefaultArgument() 1634 auto *NonConstD = const_cast<ParmDecl*>(D); in hasAcceptableDefaultArgument()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 3425 template <typename ParmDecl> 3426 static bool inheritDefaultTemplateArgument(ASTContext &Context, ParmDecl *From, in inheritDefaultTemplateArgument() 3428 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()
|