Lines Matching refs:Decl
24 BindableMatcher<Decl> getPattern() { in getPattern()
33 BindableMatcher<Decl> getPattern() { in getPattern()
42 BindableMatcher<Decl> getPattern() { in getPattern()
51 BindableMatcher<Decl> getPattern() { return varDecl(hasName("X")); } in getPattern()
63 BindableMatcher<Decl> getPattern() { in getPattern()
72 BindableMatcher<Decl> getPattern() { in getPattern()
86 BindableMatcher<Decl> getPattern() { in getPattern()
112 BindableMatcher<Decl> getPattern() { in getPattern()
129 BindableMatcher<Decl> getPattern() { in getPattern()
140 BindableMatcher<Decl> getPattern() const { return TypeParam().getPattern(); } in getPattern()
142 void CheckPreviousDecl(Decl *Prev, Decl *Current) { in CheckPreviousDecl()
183 Decl *FromTU = getTuDecl(getPrototype(), Lang_CXX03); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()
187 Decl *ImportedD = Import(FromD, Lang_CXX03); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()
188 Decl *ToTU = ImportedD->getTranslationUnitDecl(); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()
200 Decl *FromTU = getTuDecl(getDefinition(), Lang_CXX03); in TypedTest_DefinitionShouldBeImportedAsADefinition()
204 Decl *ImportedD = Import(FromD, Lang_CXX03); in TypedTest_DefinitionShouldBeImportedAsADefinition()
205 Decl *ToTU = ImportedD->getTranslationUnitDecl(); in TypedTest_DefinitionShouldBeImportedAsADefinition()
216 Decl *FromTU = getTuDecl(getPrototype() + getPrototype(), Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedPrototype()
222 Decl *Imported0 = Import(From0, Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedPrototype()
223 Decl *Imported1 = Import(From1, Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedPrototype()
224 Decl *ToTU = Imported0->getTranslationUnitDecl(); in TypedTest_ImportPrototypeAfterImportedPrototype()
238 Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX03); in TypedTest_ImportDefinitionAfterImportedPrototype()
244 Decl *ImportedProto = Import(FromProto, Lang_CXX03); in TypedTest_ImportDefinitionAfterImportedPrototype()
245 Decl *ImportedDef = Import(FromDef, Lang_CXX03); in TypedTest_ImportDefinitionAfterImportedPrototype()
246 Decl *ToTU = ImportedProto->getTranslationUnitDecl(); in TypedTest_ImportDefinitionAfterImportedPrototype()
260 Decl *FromTU = getTuDecl(getDefinition() + getPrototype(), Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedDefinition()
266 Decl *ImportedDef = Import(FromDef, Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedDefinition()
267 Decl *ImportedProto = Import(FromProto, Lang_CXX03); in TypedTest_ImportPrototypeAfterImportedDefinition()
268 Decl *ToTU = ImportedDef->getTranslationUnitDecl(); in TypedTest_ImportPrototypeAfterImportedDefinition()
282 Decl *FromTU0 = getTuDecl(getPrototype(), Lang_CXX03, "input0.cc"); in TypedTest_ImportPrototypes()
283 Decl *FromTU1 = getTuDecl(getPrototype(), Lang_CXX03, "input1.cc"); in TypedTest_ImportPrototypes()
289 Decl *Imported0 = Import(From0, Lang_CXX03); in TypedTest_ImportPrototypes()
290 Decl *Imported1 = Import(From1, Lang_CXX03); in TypedTest_ImportPrototypes()
291 Decl *ToTU = Imported0->getTranslationUnitDecl(); in TypedTest_ImportPrototypes()
305 Decl *FromTU0 = getTuDecl(getDefinition(), Lang_CXX03, "input0.cc"); in TypedTest_ImportDefinitions()
306 Decl *FromTU1 = getTuDecl(getDefinition(), Lang_CXX03, "input1.cc"); in TypedTest_ImportDefinitions()
312 Decl *Imported0 = Import(From0, Lang_CXX03); in TypedTest_ImportDefinitions()
313 Decl *Imported1 = Import(From1, Lang_CXX03); in TypedTest_ImportDefinitions()
314 Decl *ToTU = Imported0->getTranslationUnitDecl(); in TypedTest_ImportDefinitions()
327 Decl *FromTUDef = getTuDecl(getDefinition(), Lang_CXX03, "input0.cc"); in TypedTest_ImportDefinitionThenPrototype()
328 Decl *FromTUProto = getTuDecl(getPrototype(), Lang_CXX03, "input1.cc"); in TypedTest_ImportDefinitionThenPrototype()
335 Decl *ImportedDef = Import(FromDef, Lang_CXX03); in TypedTest_ImportDefinitionThenPrototype()
336 Decl *ImportedProto = Import(FromProto, Lang_CXX03); in TypedTest_ImportDefinitionThenPrototype()
337 Decl *ToTU = ImportedDef->getTranslationUnitDecl(); in TypedTest_ImportDefinitionThenPrototype()
352 Decl *FromTUProto = getTuDecl(getPrototype(), Lang_CXX03, "input0.cc"); in TypedTest_ImportPrototypeThenDefinition()
353 Decl *FromTUDef = getTuDecl(getDefinition(), Lang_CXX03, "input1.cc"); in TypedTest_ImportPrototypeThenDefinition()
360 Decl *ImportedProto = Import(FromProto, Lang_CXX03); in TypedTest_ImportPrototypeThenDefinition()
361 Decl *ImportedDef = Import(FromDef, Lang_CXX03); in TypedTest_ImportPrototypeThenDefinition()
362 Decl *ToTU = ImportedDef->getTranslationUnitDecl(); in TypedTest_ImportPrototypeThenDefinition()
377 Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX03); in TypedTest_WholeRedeclChainIsImportedAtOnce()
382 Decl *ImportedD = Import(FromD, Lang_CXX03); in TypedTest_WholeRedeclChainIsImportedAtOnce()
383 Decl *ToTU = ImportedD->getTranslationUnitDecl(); in TypedTest_WholeRedeclChainIsImportedAtOnce()
392 Decl *FromTU = getTuDecl(getPrototype(), Lang_CXX03, "input0.cc"); in TypedTest_ImportPrototypeThenProtoAndDefinition()
397 Decl *FromTU = in TypedTest_ImportPrototypeThenProtoAndDefinition()
403 Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TypedTest_ImportPrototypeThenProtoAndDefinition()