reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
95 template <typename... Ts> static Stencil cat(Ts &&... Parts) { 96 Stencil S; 102 void append(Stencil OtherStencil); 140 template <typename... Ts> Stencil cat(Ts &&... Parts) { 141 return Stencil::cat(std::forward<Ts>(Parts)...); 200 using Stencil = transformer::Stencil;tools/clang/lib/Tooling/Transformer/Stencil.cpp
261 void Stencil::append(Stencil OtherStencil) {
tools/clang/unittests/Tooling/StencilTest.cpp78 void testError(const Stencil &Stencil, 114 void testUnboundNodeError(const Stencil &Stencil, StringRef UnboundId) { 132 auto Stencil = cat("if (!", node(Condition), ") ", statement(Else), " else ", 151 Stencil S = cat("if (!", node(Condition), ") ", statement(Else), " else ", 167 auto Stencil = cat("if(!", node("a1"), ") ", node("UNBOUND"), ";"); 175 void testExpr(StringRef Id, StringRef Snippet, const Stencil &Stencil, 182 void testFailure(StringRef Id, StringRef Snippet, const Stencil &Stencil, 317 const Stencil Stencil = cat(access("obj", "field")); 338 const Stencil Stencil = cat(access("obj", "field")); 352 auto S = cat("foo bar baz"); 358 auto S = cat("foo \"bar\" baz\\n"); 364 auto S = cat(dPrint("Id")); 370 auto S = cat(expression("Id")); 376 auto S = cat(deref("Id")); 382 auto S = cat(addressOf("Id")); 388 auto S1 = cat(node("node1")); 393 auto S = cat(access("Id", text("memberData"))); 399 auto S = cat(access("Id", access("subId", "memberData"))); 405 auto S = cat(ifBound("Id", text("trueText"), access("exprId", "memberData"))); 413 auto S1 = cat(run(F1)); 418 auto S = cat("foo", access("x", "m()"), "bar",usr/include/c++/7.4.0/bits/move.h
98 move(_Tp&& __t) noexcept
usr/include/c++/7.4.0/bits/std_function.h91 : is_trivially_copyable<_Tp>::type 110 _Tp& 115 const _Tp& 161 (__is_location_invariant<_Functor>::value 162 && sizeof(_Functor) <= _M_max_size 163 && __alignof__(_Functor) <= _M_max_align 164 && (_M_max_align % __alignof__(_Functor) == 0)); 169 static _Functor* 172 const _Functor* __ptr = 173 __stored_locally? std::__addressof(__source._M_access<_Functor>()) 174 /* have stored a pointer */ : __source._M_access<_Functor*>(); 191 __dest._M_access<_Functor*>() = 192 new _Functor(*__source._M_access<_Functor*>()); 192 new _Functor(*__source._M_access<_Functor*>()); 207 delete __victim._M_access<_Functor*>(); 223 __dest._M_access<_Functor*>() = _M_get_pointer(__source); 238 _M_init_functor(_Any_data& __functor, _Functor&& __f) 258 _M_not_empty_function(const _Tp&) 263 _M_init_functor(_Any_data& __functor, _Functor&& __f, true_type) 267 _M_init_functor(_Any_data& __functor, _Functor&& __f, false_type) 268 { __functor._M_access<_Functor*>() = new _Functor(std::move(__f)); } 268 { __functor._M_access<_Functor*>() = new _Functor(std::move(__f)); } 293 : public _Function_base::_Base_manager<_Functor> 295 typedef _Function_base::_Base_manager<_Functor> _Base; 465 function(_Functor); 689 typedef _Function_handler<_Res(_ArgTypes...), _Functor> _My_handler;usr/include/c++/7.4.0/type_traits
417 typename remove_cv<_Tp>::type>::type 432 typename remove_cv<_Tp>::type>::type 1554 { typedef _Tp type; }; 1563 { typedef _Tp type; }; 1574 remove_const<typename remove_volatile<_Tp>::type>::type type; 1633 { typedef _Tp type; }; 1659 { typedef _Tp&& type; };