Lines Matching refs:unique_ptr
26 using std::unique_ptr;
105 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F()
108 unique_ptr<MethodDecl> sub{ in TEST_F()
112 unique_ptr<MethodDecl> sub2{ in TEST_F()
116 vector<unique_ptr<Declaration>> test_methods; in TEST_F()
120 vector<unique_ptr<Declaration>> test_sub_methods; in TEST_F()
123 unique_ptr<Declaration> test{new ClassDecl { "TestClass", "", in TEST_F()
126 unique_ptr<Declaration> test_sub{new ClassDecl { "TestSubClass", in TEST_F()
129 vector<unique_ptr<Declaration>> classes; in TEST_F()
133 unique_ptr<CppNamespace> test_ns{new CppNamespace {"test", in TEST_F()
136 vector<unique_ptr<Declaration>> test_ns_vec; in TEST_F()
139 unique_ptr<CppNamespace> android_ns{new CppNamespace {"android", in TEST_F()
142 vector<unique_ptr<Declaration>> test_ns_globals; in TEST_F()
161 std::vector<unique_ptr<AstNode>> args; in TEST_F()
180 block.AddStatement(unique_ptr<AstNode>(new Statement("foo"))); in TEST_F()
181 block.AddStatement(unique_ptr<AstNode>(new Statement("bar"))); in TEST_F()
228 case2->AddStatement(unique_ptr<AstNode>{new Statement{"baz"}}); in TEST_F()
230 case1->AddStatement(unique_ptr<AstNode>{new Statement{"foo"}}); in TEST_F()
231 case1->AddStatement(unique_ptr<AstNode>{new Statement{"bar"}}); in TEST_F()