Lines Matching refs:Unit
820 ASTUnit &Unit;
825 : Unit(_Unit), Hash(Hash) {
841 Unit.addTopLevelDecl(D);
847 Unit.addFileLevelDecl(D);
869 return Unit.getASTMutationListener();
873 return Unit.getDeserializationListener();
879 ASTUnit &Unit;
885 Unit.getCurrentTopLevelHashValue()));
887 Unit, Unit.getCurrentTopLevelHashValue());
891 TopLevelDeclTrackerAction(ASTUnit &_Unit) : Unit(_Unit) {}
895 return Unit.getTranslationUnitKind();
900 ASTUnit &Unit;
904 explicit PrecompilePreambleAction(ASTUnit &Unit)
905 : Unit(Unit), HasEmittedPreamblePCH(false) {}
919 ASTUnit &Unit;
926 PrecompilePreambleConsumer(ASTUnit &Unit, PrecompilePreambleAction *Action,
932 Unit(Unit), Hash(Unit.getCurrentTopLevelHashValue()), Action(Action),
970 Unit.addTopLevelDeclFromPreamble(getWriter().getDeclID(D));
995 Unit.getCurrentTopLevelHashValue()));
997 Unit, this, CI.getPreprocessor(), Sysroot, OS);
1727 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath,
1735 ASTUnit *AST = Unit;