Home
last modified time | relevance | path

Searched refs:IntParam (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/support/
DContextTests.cpp17 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/
Dconstructor-initializer.cpp134 int IntParam(int i) { return 0; }; in IntParam() function
148 E(IntParam(E)) {} // expected-warning {{field 'E' is uninitialized when used here}} in InitializeUsingSelfTest()
Dconstant-expression-cxx11.cpp90 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/
Dconstructor-initializer.cpp134 int IntParam(int i) { return 0; }; in IntParam() function
148 E(IntParam(E)) {} // expected-warning {{field 'E' is uninitialized when used here}} in InitializeUsingSelfTest()
Dconstant-expression-cxx11.cpp90 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/
DASTMatchersTraversalTest.cpp364 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/
Dtemp_arg_template_cxx1z.cpp29 namespace IntParam { namespace
/external/llvm-project/llvm/test/Bitcode/
Dthinlto-function-summary-paramaccess.ll60 ; 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/
DASTMatchersTraversalTest.cpp646 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/
DSemaTemplateDeduction.cpp2278 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()