Searched defs:ByRef (Results 1 - 6 of 6) sorted by relevance
/external/chromium/testing/gtest/include/gtest/internal/ |
H A D | gtest-tuple.h | 115 // ByRef<T>::type is T if T is a reference; otherwise it's const T&. 117 struct ByRef { typedef const T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 119 struct ByRef<T&> { typedef T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 121 // A handy wrapper for ByRef. 122 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/gtest/include/gtest/internal/ |
H A D | gtest-tuple.h | 115 // ByRef<T>::type is T if T is a reference; otherwise it's const T&. 117 struct ByRef { typedef const T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 119 struct ByRef<T&> { typedef T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 121 // A handy wrapper for ByRef. 122 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
H A D | gtest-tuple.h | 115 // ByRef<T>::type is T if T is a reference; otherwise it's const T&. 117 struct ByRef { typedef const T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 119 struct ByRef<T&> { typedef T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 121 // A handy wrapper for ByRef. 122 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/protobuf/gtest/include/gtest/internal/ |
H A D | gtest-tuple.h | 114 // ByRef<T>::type is T if T is a reference; otherwise it's const T&. 116 struct ByRef { typedef const T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 118 struct ByRef<T&> { typedef T& type; }; // NOLINT struct in namespace:std::tr1::gtest_internal 120 // A handy wrapper for ByRef. 121 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
|
/external/chromium/testing/gmock/include/gmock/ |
H A D | gmock-actions.h | 842 // Allows the expression ByRef(x) to be printed as a reference to x. 1064 // suppose 'derived' is an object of type Derived, ByRef(derived) 1068 // ByRef<const Base>(derived) 1070 inline internal::ReferenceWrapper<T> ByRef(T& l_value) { // NOLINT function in namespace:testing
|
/external/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 10624 bool ByRef = false; local 10650 ByRef = true; 10693 CSI->addCapture(Var, HasBlocksAttr, ByRef, Nested, Loc, 10702 bool ByRef = false; local 10704 ByRef = (Kind == TryCapture_ExplicitByRef); 10706 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); 10710 if (ByRef) { 10762 if (ByRef) 10777 CSI->addCapture(Var, /*IsBlock=*/false, ByRef, Nested, Loc,
|
Completed in 659 milliseconds