reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  166     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u);
  183     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u);
  202     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  224     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  246     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  269     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  293     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u);
  316     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  341     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  362     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  381     ASSERT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 3u);
tools/clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
  271     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 2u);
  286     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u);
  293     EXPECT_EQ(DeclCounter<DeclTy>().match(ToTU, getPattern()), 1u);
tools/clang/unittests/AST/ASTImporterTest.cpp
  341       DeclCounterWithPredicate<CXXRecordDecl>().match(ToTU, Pattern);
  358       DeclCounterWithPredicate<CXXRecordDecl>().match(ToTU, Pattern);
 1674                     .match(ToTU, classTemplateDecl()));
 1694                     .match(ToTU, classTemplateDecl()));
 1708   ASSERT_EQ(2u, DeclCounter<CXXRecordDecl>().match(
 1723   EXPECT_EQ(2u, DeclCounter<CXXRecordDecl>().match(
 1807                     .match(ToTU, classTemplateSpecializationDecl()));
 1828                     .match(ToTU, classTemplateSpecializationDecl()));
 1878             DeclCounter<RecordDecl>().match(ToTU, recordDecl(hasName("X"))));
 1911             DeclCounter<RecordDecl>().match(ToTU, recordDecl(hasName("X"))));
 2017   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2035   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2092             }).match(ToTU, functionDecl()));
 2102             }).match(ToTU, functionDecl()));
 2126   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u);
 2127   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFP), 1u);
 2164   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u);
 2165   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFP), 1u);
 2166   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFDefP), 1u);
 2167   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFDefP), 1u);
 2168   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, FDefAllP), 2u);
 2196   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u);
 2197   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFDefP), 0u);
 2256   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFP), 1u);
 2257   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFP), 1u);
 2258   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, BFDefP), 0u);
 2259   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, DFDefP), 0u);
 2346   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("f"))),
 2532   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2550   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2568   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2586   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2609   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2638   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2668   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 2702   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, FunctionPattern), 1u);
 2749   ASSERT_EQ(DeclCounter<FunctionDecl>().match(ToTU, FunctionPattern), 2u);
 2793   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, FunctionPattern), 2u);
 2832   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 1u);
 2837   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, Pattern), 2u);
 3023     ASSERT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher), 1u);
 3032     ASSERT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher), 0u);
 3043     EXPECT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher),
 3423             DeclCounter<ClassTemplateSpecializationDecl>().match(
 3492   EXPECT_EQ(1u, DeclCounter<ClassTemplatePartialSpecializationDecl>().match(
 3517   EXPECT_EQ(1u, DeclCounter<ClassTemplateSpecializationDecl>().match(
 3546   EXPECT_EQ(1u, DeclCounter<ClassTemplatePartialSpecializationDecl>().match(
 3549   EXPECT_EQ(1u, DeclCounter<ClassTemplateSpecializationDecl>().match(
 3674   EXPECT_EQ(DeclCounter<RecordDecl>().match(ToTU, Pattern), 2u);
 3692   EXPECT_EQ(DeclCounter<RecordDecl>().match(ToTU, Pattern), 2u);
 3712   EXPECT_EQ(DeclCounter<RecordDecl>().match(ToTU, Pattern), 2u);
 3830   EXPECT_EQ(DeclCounter<ClassTemplateSpecializationDecl>().match(ToTU, Pattern),
 4178       DeclCounter<FunctionDecl>().match(FromTU, functionDecl(hasName("f"))),
 4179       DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("f"))));
 4898   EXPECT_EQ(DeclCounter<ClassTemplateSpecializationDecl>().match(
 4925       DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("foo"))),
 4954   EXPECT_EQ(DeclCounter<FunctionDecl>().match(ToTU, functionDecl(hasName("f"))),
 5567       DeclCounter<CXXRecordDecl>().match(FromTU, cxxRecordDecl(isLambda())),
 5574   EXPECT_EQ(DeclCounter<CXXRecordDecl>().match(ToTU, cxxRecordDecl(isLambda())),
 5591       DeclCounter<CXXRecordDecl>().match(FromTU, cxxRecordDecl(isLambda())),
 5598   EXPECT_EQ(DeclCounter<CXXRecordDecl>().match(ToTU, cxxRecordDecl(isLambda())),