Home | History | Annotate | Download | only in Frontend

Lines Matching defs:Unit

777 /// of all macros that have been defined by the translation unit.
833 ASTUnit &Unit;
838 : Unit(_Unit), Hash(Hash) {
854 Unit.addTopLevelDecl(D);
860 Unit.addFileLevelDecl(D);
882 return Unit.getASTMutationListener();
886 return Unit.getDeserializationListener();
892 ASTUnit &Unit;
897 new MacroDefinitionTrackerPPCallbacks(Unit.getCurrentTopLevelHashValue()));
898 return new TopLevelDeclTrackerConsumer(Unit,
899 Unit.getCurrentTopLevelHashValue());
903 TopLevelDeclTrackerAction(ASTUnit &_Unit) : Unit(_Unit) {}
907 return Unit.getTranslationUnitKind();
912 ASTUnit &Unit;
916 explicit PrecompilePreambleAction(ASTUnit &Unit)
917 : Unit(Unit), HasEmittedPreamblePCH(false) {}
931 ASTUnit &Unit;
937 PrecompilePreambleConsumer(ASTUnit &Unit, PrecompilePreambleAction *Action,
941 Unit(Unit), Hash(Unit.getCurrentTopLevelHashValue()), Action(Action) {
972 Unit.addTopLevelDeclFromPreamble(getWriter().getDeclID(D));
995 Unit.getCurrentTopLevelHashValue()));
996 return new PrecompilePreambleConsumer(Unit, this, CI.getPreprocessor(),
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.
1756 ASTFrontendAction *Action, ASTUnit *Unit, bool Persistent,
1764 ASTUnit *AST = Unit;
1766 // Create the AST unit.
1923 // Create the AST unit.
2000 // Create the AST unit.
2085 // unit; it'll be recreated if necessary.