Lines Matching defs:Source
5 // This file is distributed under the University of Illinois Open Source
205 /// errors in the source that occurs in the preamble), the number of
614 // Only record the diagnostic if it's part of the source manager we know
616 // FIXME: In the long run, ee don't want to drop source managers from modules.
722 // source, so that declarations will be deserialized from the
724 // We need the external source to be set up before we read the AST, because
755 // Tell the diagnostic client that we have started a source file.
1007 // have a source location.
1016 // The stored diagnostic has the old source manager in it; update
1017 // the locations to refer into the new source manager. Since we've
1018 // been careful to make sure that the source manager's state
1019 // before and after are identical, so that we can reuse the source
1029 /// Parse the source file into a translation unit using the given compiler
1072 "Invocation must have exactly one source file!");
1105 // Create the source manager.
1120 // The stored diagnostic has the old source manager in it; update
1121 // the locations to refer into the new source manager. Since we've
1122 // been careful to make sure that the source manager's state
1123 // before and after are identical, so that we can reuse the source
1184 /// \brief Compute the preamble for the main file, providing the source buffer
1206 // We found a remapping. Try to load the resulting, remapped source.
1229 // If the main source file was not remapped, load it now.
1320 /// the source file.
1322 /// This routine will compute the preamble of the main source file. If a
1354 // We couldn't find a preamble in the main source. Clear out the current
1504 // Remap the main source file to the preamble buffer.
1547 "Invocation must have exactly one source file!");
1569 // Create the source manager.
1616 // Keep track of all of the files that the source manager knows about,
1652 ExternalASTSource &Source = *getASTContext().getExternalSource();
1656 if (Decl *D = Source.GetExternalDecl(TopLevelDecl))
1805 "Invocation must have exactly one source file!");
1820 // Create the source manager.
2391 "Invocation must have exactly one source file!");
2398 // Use the source and file managers that we were given.
2532 // Map the standalone diagnostic into the new source manager. We also need to
2534 // any associated source ranges, and the source ranges of associated fix-its.
2625 assert(Ctx->getExternalSource() && "No external source!");