Lines Matching refs:Unit
764 /// of all macros that have been defined by the translation 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);
1029 /// Parse the source file into a translation unit using the given compiler
1030 /// invocation, replacing the current translation unit.
1033 /// contain any translation-unit information, false otherwise.
1735 ASTUnit *Unit, bool Persistent, StringRef ResourceFilesPath,
1743 ASTUnit *AST = Unit;
1745 // Create the AST unit.
1910 // Create the AST unit.
1984 // Create the AST unit.
2075 // unit; it'll be recreated if necessary.