Home | History | Annotate | Download | only in ASTMatchers

Lines Matching refs:translationUnitDecl

98 TEST(DeclarationMatcher, translationUnitDecl) {
104 Code, varDecl(hasName("MyVar1"), hasDeclContext(translationUnitDecl()))));
106 Code, varDecl(hasName("MyVar2"), hasDeclContext(translationUnitDecl()))));
110 hasDeclContext(decl(hasDeclContext(translationUnitDecl()))))));