/external/llvm-project/clang-tools-extra/clangd/unittests/support/ |
D | ContextTests.cpp | 17 Key<int> IntParam; in TEST() local 20 Context Ctx = Context::empty().derive(IntParam, 10).derive(ExtraIntParam, 20); in TEST() 22 EXPECT_EQ(*Ctx.get(IntParam), 10); in TEST()
|
/external/clang/test/SemaCXX/ |
D | constructor-initializer.cpp | 134 int IntParam(int i) { return 0; }; in IntParam() function 148 E(IntParam(E)) {} // expected-warning {{field 'E' is uninitialized when used here}} in InitializeUsingSelfTest()
|
D | constant-expression-cxx11.cpp | 90 template<int n> struct IntParam {}; struct 92 using IntParam0 = IntParam<0>; 93 using IntParam0 = IntParam<id(0)>; 94 …using IntParam0 = IntParam<MemberZero().zero>; // expected-error {{did you mean to call it with no…
|
/external/llvm-project/clang/test/SemaCXX/ |
D | constructor-initializer.cpp | 134 int IntParam(int i) { return 0; }; in IntParam() function 148 E(IntParam(E)) {} // expected-warning {{field 'E' is uninitialized when used here}} in InitializeUsingSelfTest()
|
D | constant-expression-cxx11.cpp | 90 template<int n> struct IntParam {}; struct 92 using IntParam0 = IntParam<0>; 93 using IntParam0 = IntParam<id(0)>; 94 …using IntParam0 = IntParam<MemberZero().zero>; // expected-error {{did you mean to call it with no…
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 364 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 366 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 377 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 379 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 391 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 406 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 408 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 430 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 432 cxxConstructExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST()
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | temp_arg_template_cxx1z.cpp | 29 namespace IntParam { namespace
|
/external/llvm-project/llvm/test/Bitcode/ |
D | thinlto-function-summary-paramaccess.ll | 60 ; SSI-LABEL: function 'IntParam' 62 ; DIS-DAG: = gv: (name: "IntParam", summaries: {{.*}} guid = 13164714711077064397 64 define void @IntParam(i32 %x) #0 {
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersTraversalTest.cpp | 646 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 648 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 659 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 661 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 673 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 688 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 690 callExpr(forEachArgumentWithParam(ArgumentY, IntParam)); in TEST() 712 DeclarationMatcher IntParam = parmVarDecl(hasType(isInteger())).bind("param"); in TEST() local 715 cxxConstructExpr(forEachArgumentWithParam(ArgumentY, IntParam))); in TEST()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 2278 const auto *IntParam = cast<DependentExtIntType>(Param); in DeduceTemplateArgumentsByTypeMatch() local 2281 if (IntParam->isUnsigned() != IntArg->isUnsigned()) in DeduceTemplateArgumentsByTypeMatch() 2285 getDeducedParameterFromExpr(Info, IntParam->getNumBitsExpr()); in DeduceTemplateArgumentsByTypeMatch() 2298 if (IntParam->isUnsigned() != IntArg->isUnsigned()) in DeduceTemplateArgumentsByTypeMatch()
|