Lines Matching refs:unique_ptr
26 using std::unique_ptr;
98 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F()
101 unique_ptr<MethodDecl> sub{ in TEST_F()
105 unique_ptr<MethodDecl> sub2{ in TEST_F()
109 vector<unique_ptr<Declaration>> test_methods; in TEST_F()
113 vector<unique_ptr<Declaration>> test_sub_methods; in TEST_F()
116 unique_ptr<Declaration> test{new ClassDecl { "TestClass", "", in TEST_F()
119 unique_ptr<Declaration> test_sub{new ClassDecl { "TestSubClass", in TEST_F()
122 vector<unique_ptr<Declaration>> classes; in TEST_F()
126 unique_ptr<CppNamespace> test_ns{new CppNamespace {"test", in TEST_F()
129 vector<unique_ptr<Declaration>> test_ns_vec; in TEST_F()
132 unique_ptr<CppNamespace> android_ns{new CppNamespace {"android", in TEST_F()
135 vector<unique_ptr<Declaration>> test_ns_globals; in TEST_F()
177 std::vector<unique_ptr<AstNode>> args; in TEST_F()
196 block.AddStatement(unique_ptr<AstNode>(new Statement("foo"))); in TEST_F()
197 block.AddStatement(unique_ptr<AstNode>(new Statement("bar"))); in TEST_F()
244 case2->AddStatement(unique_ptr<AstNode>{new Statement{"baz"}}); in TEST_F()
246 case1->AddStatement(unique_ptr<AstNode>{new Statement{"foo"}}); in TEST_F()
247 case1->AddStatement(unique_ptr<AstNode>{new Statement{"bar"}}); in TEST_F()