Home
last modified time | relevance | path

Searched refs:ByRef (Results 1 – 22 of 22) sorted by relevance

/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc1636 auto ref_wrapper = ByRef(s1); in TEST()
1641 ref_wrapper = ByRef(s2); in TEST()
1645 auto ref_wrapper1 = ByRef(s1); in TEST()
1657 const int& const_ref = ByRef(n); in TEST()
1666 int& ref = ByRef(n); in TEST()
1670 const int& const_ref = ByRef(n); in TEST()
1677 const int& r1 = ByRef<const int>(n); in TEST()
1684 Derived& r2 = ByRef<Derived>(d); in TEST()
1687 const Derived& r3 = ByRef<const Derived>(d); in TEST()
1690 Base& r4 = ByRef<Base>(d); in TEST()
[all …]
H A Dgmock-matchers-comparisons_test.cc975 EXPECT_CALL(helper, Call(Eq(ByRef(m)))); in TEST()
977 EXPECT_CALL(helper, Call(Ne(ByRef(m)))); in TEST()
979 EXPECT_CALL(helper, Call(Le(ByRef(m)))); in TEST()
981 EXPECT_CALL(helper, Call(Lt(ByRef(m)))); in TEST()
983 EXPECT_CALL(helper, Call(Ge(ByRef(m)))); in TEST()
985 EXPECT_CALL(helper, Call(Gt(ByRef(m)))); in TEST()
H A Dgmock-more-actions_test.cc800 InvokeArgument<0>(ByRef(g_double)); in TEST()
805 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
H A Dgmock-matchers-misc_test.cc121 const Matcher<const NotCopyable&> m = Eq(ByRef(const_value1)); in TEST()
130 const Matcher<NotCopyable&> m = Ge(ByRef(value2)); in TEST()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h607 Capture(ValueDecl *Var, bool Block, bool ByRef, bool IsNested, in Capture() argument
612 : ByRef ? Cap_ByRef in Capture()
H A DSema.h7275 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in actOnLambdaInitCaptureInitialization() argument
7278 Loc, ByRef, EllipsisLoc, std::nullopt, Id, in actOnLambdaInitCaptureInitialization()
7282 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc,
7296 void addInitCapture(sema::LambdaScopeInfo *LSI, VarDecl *Var, bool ByRef);
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp742 SourceLocation Loc, bool ByRef, SourceLocation EllipsisLoc, in buildLambdaInitCaptureInitialization() argument
751 if (ByRef) { in buildLambdaInitCaptureInitialization()
833 void Sema::addInitCapture(LambdaScopeInfo *LSI, VarDecl *Var, bool ByRef) { in addInitCapture() argument
835 LSI->addCapture(Var, /*isBlock=*/false, ByRef, in addInitCapture()
H A DSemaExpr.cpp19391 bool ByRef = false; in captureInBlock() local
19439 ByRef = true; in captureInBlock()
19461 bool ByRef = true; in captureInCapturedRegion() local
19463 ByRef = (Kind == Sema::TryCapture_ExplicitByRef); in captureInCapturedRegion()
19477 ByRef = S.isOpenMPCapturedByRef(Var, RSI->OpenMPLevel, in captureInCapturedRegion()
19481 if (ByRef) in captureInCapturedRegion()
19503 bool ByRef = false; in captureInLambda() local
19505 ByRef = (Kind == Sema::TryCapture_ExplicitByRef); in captureInLambda()
19507 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
19527 if (ByRef) { in captureInLambda()
[all …]
H A DSemaDecl.cpp15622 const bool ByRef = C.getCaptureKind() == LCK_ByRef; in RebuildLambdaScopeInfo() local
15623 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp199 return get(Context, ByRef, Ty); in getWithByRefType()
812 return SetNode ? SetNode->getAttributeType(Attribute::ByRef) : nullptr; in getByRefType()
1873 return addTypeAttr(Attribute::ByRef, Ty); in addByRefAttr()
1974 .addAttribute(Attribute::ByRef) in typeIncompatible()
H A DFunction.cpp139 return hasAttribute(Attribute::ByRef); in hasByRefAttr()
177 Attrs.hasParamAttr(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
H A DVerifier.cpp1886 AttrCount += Attrs.hasAttribute(Attribute::ByRef); in verifyParameterAttrs()
1964 if (Attrs.hasAttribute(Attribute::ByRef)) { in verifyParameterAttrs()
2689 if (Attrs.hasParamAttr(i, Attribute::ByRef)) { in visitFunction()
3656 Check(!Attrs.contains(Attribute::ByRef), in verifyTailCCMustTailAttrs()
3677 Attribute::ByRef}; in getParameterABIAttributes()
3688 Attrs.hasParamAttr(I, Attribute::ByRef))) in getParameterABIAttributes()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.td78 def ByRef : TypeAttr<"byref", [ParamAttr]>;
H A DAttributes.h1095 Type *getByRefType() const { return getTypeAttr(Attribute::ByRef); }
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp1037 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
H A DBitcodeWriter.cpp835 case Attribute::ByRef: in getAttrKindEncoding()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp1042 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp998 case Attribute::ByRef: in constructFunction()
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h1994 inline ::std::reference_wrapper<T> ByRef(T& l_value) { // NOLINT
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td1035 let Args = [EnumArgument<"Type", "BlockType", ["byref"], ["ByRef"]>];
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2090 return Attribute::ByRef; in getAttrFromCode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp11005 if (Arg.hasAttribute(Attribute::ByRef)) in LowerArguments()