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

References

tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
  149     M[0] = IncrementalParseAST(compiler, P, *CG, nullptr);
  150     ASSERT_TRUE(M[0]);
  152     M[1] = IncrementalParseAST(compiler, P, *CG, TestProgram1);
  153     ASSERT_TRUE(M[1]);
  154     ASSERT_TRUE(M[1]->getFunction("funcForProg1"));
  156     M[2] = IncrementalParseAST(compiler, P, *CG, TestProgram2);
  157     ASSERT_TRUE(M[2]);
  158     ASSERT_TRUE(M[2]->getFunction("funcForProg2"));
  160     ASSERT_FALSE(M[2]->getFunction("funcForProg1"));
  163     const Function* GlobalInit1 = getGlobalInit(*M[1]);
  166     const Function* GlobalInit2 = getGlobalInit(*M[2]);