Searched refs:FileID (Results 1 - 25 of 81) sorted by relevance

1234

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h53 void EscapeText(Rewriter& R, FileID FID,
63 void AddLineNumbers(Rewriter& R, FileID FID);
65 void AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID,
68 /// SyntaxHighlight - Relex the specified FileID and annotate the HTML with
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
H A DRewriter.h130 std::map<FileID, RewriteBuffer> RewriteBuffers;
149 typedef std::map<FileID, RewriteBuffer>::iterator buffer_iterator;
150 typedef std::map<FileID, RewriteBuffer>::const_iterator const_buffer_iterator;
270 /// FileID's buffer.
271 RewriteBuffer &getEditBuffer(FileID FID);
273 /// getRewriteBufferFor - Return the rewrite buffer for the specified FileID.
275 const RewriteBuffer *getRewriteBufferFor(FileID FID) const {
276 std::map<FileID, RewriteBuffer>::const_iterator I =
295 unsigned getLocationOffsetAndFileID(SourceLocation Loc, FileID &FID) const;
H A DTokenRewriter.h30 /// of these tokens has a unique SourceLocation, which is a FileID.
50 /// specified FileID.
51 TokenRewriter(FileID FID, SourceManager &SM, const LangOptions &LO);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceManagerInternals.h89 std::map<FileID, std::vector<LineEntry> > LineEntries;
109 void AddLineNote(FileID FID, unsigned Offset,
111 void AddLineNote(FileID FID, unsigned Offset,
119 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset);
122 typedef std::map<FileID, std::vector<LineEntry> >::iterator iterator;
128 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
H A DSourceManager.h227 /// \brief Information about a FileID, basically just the logical file
282 /// \brief Return true if this FileID has \#line directives in it.
285 /// \brief Set the flag that indicates that this FileID has
388 /// identified by the FileID datatype.
451 /// \brief The FileID's of the cached query.
454 FileID LQueryFID, RQueryFID;
463 FileID CommonFID;
476 bool isCacheValid(FileID LHS, FileID RHS) const {
481 /// specified offsets in the LHS/RHS FileID'
[all...]
H A DSourceLocation.h39 class FileID { class in namespace:clang
44 FileID() : ID(0) {} function in class:clang::FileID
48 bool operator==(const FileID &RHS) const { return ID == RHS.ID; }
49 bool operator<(const FileID &RHS) const { return ID < RHS.ID; }
50 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; }
51 bool operator!=(const FileID &RHS) const { return !(*this == RHS); }
52 bool operator>(const FileID &RHS) const { return RHS < *this; }
53 bool operator>=(const FileID &RHS) const { return RHS <= *this; }
55 static FileID getSentinel() { return get(-1); }
63 static FileID ge
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp197 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset,
228 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset,
262 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID,
281 void LineTableInfo::AddEntry(FileID FID,
295 /// AddLineNote - Add a line note to the line table for the FileID and offset
300 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
330 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
407 for (llvm::DenseMap<FileID, MacroArgsMap *>::iterator
414 MainFileID = FileID();
418 LastLineNoFileIDQuery = FileID();
[all...]
H A DSourceLocation.cpp79 FileID FullSourceLoc::getFileID() const {
143 std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const {
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Edit/
H A DFileOffset.h20 FileID FID;
24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { }
28 FileID getFID() const { return FID; }
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessorLexer.h32 /// The SourceManager FileID corresponding to the file being lexed.
33 const FileID FID;
76 PreprocessorLexer(Preprocessor *pp, FileID fid);
153 FileID getFileID() const {
164 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
H A DPTHLexer.h64 PTHLexer(Preprocessor& pp, FileID FID, const unsigned char *D,
H A DPTHManager.h128 PTHLexer *CreateLexer(FileID FID);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DASTImporter.h69 llvm::DenseMap<FileID, FileID> ImportedFileIDs;
201 FileID Import(FileID);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessorLexer.cpp22 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
54 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
H A DScratchBuffer.cpp68 FileID FID = SourceMgr.createFileIDForMemBuffer(Buf);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Core/
H A DRewriter.cpp129 FileID StartFileID, EndFileID;
140 std::map<FileID, RewriteBuffer>::const_iterator I =
173 FileID StartFileID, EndFileID;
183 std::map<FileID, RewriteBuffer>::const_iterator I =
213 FileID &FID) const {
215 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc);
221 /// getEditBuffer - Get or create a RewriteBuffer for the specified FileID.
223 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) {
224 std::map<FileID, RewriteBuffer>::iterator I =
241 FileID FI
[all...]
H A DHTMLRewrite.cpp37 FileID FID = SM.getFileID(B);
106 void html::EscapeText(Rewriter &R, FileID FID,
226 void html::AddLineNumbers(Rewriter& R, FileID FID) {
270 void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID,
353 /// SyntaxHighlight - Relex the specified FileID and annotate the HTML with
357 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) {
376 // FileID.
446 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DFixItRewriter.h92 bool IsModified(FileID ID) const {
103 bool WriteFixedFile(FileID ID, raw_ostream &OS);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Index/
H A DSimpleFormatContext.h49 FileID createInMemoryFile(StringRef Name, StringRef Content) {
59 std::string getRewrittenText(FileID ID) {
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DPlistReporter.cpp20 typedef llvm::DenseMap<FileID, unsigned> FIDMap;
22 static void AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V,
25 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
34 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
103 SmallVector<FileID, 10> Fids;
138 for (SmallVectorImpl<FileID>::iterator I=Fids.begin(), E=Fids.end();
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h232 typedef llvm::DenseMap<FileID, const FileEntry *> ParsedFilesMap;
233 typedef llvm::DenseMap<FileID, UnparsedFileStatus> UnparsedFilesMap;
263 void UpdateParsedFileStatus(SourceManager &SM, FileID FID, ParsedStatus PS);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp45 FileID PrevFID);
80 FileID PrevFID) {
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DRawCommentList.cpp93 FileID BeginFileID;
94 FileID EndFileID;
169 std::pair<FileID, unsigned> Loc1Info = SM.getDecomposedLoc(Loc1);
170 std::pair<FileID, unsigned> Loc2Info = SM.getDecomposedLoc(Loc2);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp58 void HandlePiece(Rewriter& R, FileID BugFileID,
61 void HighlightRange(Rewriter& R, FileID BugFileID, SourceRange Range,
124 FileID FID =
272 void HTMLDiagnostics::HandlePiece(Rewriter& R, FileID BugFileID,
285 std::pair<FileID, unsigned> LPosInfo = SM.getDecomposedExpansionLoc(Pos);
416 std::pair<FileID, unsigned> LocInfo = L.getDecomposedLoc();
523 void HTMLDiagnostics::HighlightRange(Rewriter& R, FileID BugFileID,
H A DPlistDiagnostics.cpp28 typedef llvm::DenseMap<FileID, unsigned> FIDMap;
83 static void AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V,
86 FileID FID = SM->getFileID(SM->getExpansionLoc(L));
95 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
369 SmallVector<FileID, 10> Fids;
439 for (SmallVectorImpl<FileID>::iterator I=Fids.begin(), E=Fids.end();

Completed in 202 milliseconds

1234