| /freebsd-14.2/contrib/googletest/googlemock/test/ |
| H A D | gmock-actions_test.cc | 1636 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 D | gmock-matchers-comparisons_test.cc | 975 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 D | gmock-more-actions_test.cc | 800 InvokeArgument<0>(ByRef(g_double)); in TEST() 805 a = InvokeArgument<0>(ByRef(x)); // This calls ByRef() on a non-const. in TEST()
|
| H A D | gmock-matchers-misc_test.cc | 121 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 D | ScopeInfo.h | 607 Capture(ValueDecl *Var, bool Block, bool ByRef, bool IsNested, in Capture() argument 612 : ByRef ? Cap_ByRef in Capture()
|
| H A D | Sema.h | 7275 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 D | SemaLambda.cpp | 742 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 D | SemaExpr.cpp | 19391 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 D | SemaDecl.cpp | 15622 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 D | Attributes.cpp | 199 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 D | Function.cpp | 139 return hasAttribute(Attribute::ByRef); in hasByRefAttr() 177 Attrs.hasParamAttr(getArgNo(), Attribute::ByRef); in hasPointeeInMemoryValueAttr()
|
| H A D | Verifier.cpp | 1886 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 D | Attributes.td | 78 def ByRef : TypeAttr<"byref", [ParamAttr]>;
|
| H A D | Attributes.h | 1095 Type *getByRefType() const { return getTypeAttr(Attribute::ByRef); }
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.cpp | 1037 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
|
| H A D | BitcodeWriter.cpp | 835 case Attribute::ByRef: in getAttrKindEncoding()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILValueEnumerator.cpp | 1042 else if (I.hasAttribute(Attribute::ByRef)) in incorporateFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 998 case Attribute::ByRef: in constructFunction()
|
| /freebsd-14.2/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 1994 inline ::std::reference_wrapper<T> ByRef(T& l_value) { // NOLINT
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attr.td | 1035 let Args = [EnumArgument<"Type", "BlockType", ["byref"], ["ByRef"]>];
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 2090 return Attribute::ByRef; in getAttrFromCode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 11005 if (Arg.hasAttribute(Attribute::ByRef)) in LowerArguments()
|