| /src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/ |
| HTMLRewrite.h | 53 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);
|
| Rewriter.h | 35 std::map<FileID, RewriteBuffer> RewriteBuffers; 65 using buffer_iterator = std::map<FileID, RewriteBuffer>::iterator; 66 using const_buffer_iterator = std::map<FileID, RewriteBuffer>::const_iterator; 193 /// FileID's buffer. 194 RewriteBuffer &getEditBuffer(FileID FID); 196 /// getRewriteBufferFor - Return the rewrite buffer for the specified FileID. 198 const RewriteBuffer *getRewriteBufferFor(FileID FID) const { 199 std::map<FileID, RewriteBuffer>::const_iterator I = 218 unsigned getLocationOffsetAndFileID(SourceLocation Loc, FileID &FID) const;
|
| /src/external/apache2/llvm/dist/clang/lib/Index/ |
| FileIndexRecord.h | 28 FileID FID; 33 FileIndexRecord(FileID FID, bool IsSystem) : FID(FID), IsSystem(IsSystem) {} 39 FileID getFileID() const { return FID; }
|
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| PlistSupport.h | 25 using FIDMap = llvm::DenseMap<FileID, unsigned>; 27 inline unsigned AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V, 28 FileID FID) { 38 inline unsigned AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V, 40 FileID FID = SM.getFileID(SM.getExpansionLoc(L)); 44 inline unsigned GetFID(const FIDMap &FIDs, FileID FID) { 52 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
|
| SourceManager.h | 269 /// Information about a FileID, basically just the logical file 332 /// Return true if this FileID has \#line directives in it. 335 /// Set the flag that indicates that this FileID has 466 /// identified by the FileID datatype. 537 /// The FileID's of the cached query. 540 FileID LQueryFID, RQueryFID; 549 FileID CommonFID; 563 bool isCacheValid(FileID LHS, FileID RHS) const { 568 /// specified offsets in the LHS/RHS FileID's [all...] |
| SourceManagerInternals.h | 92 std::map<FileID, std::vector<LineEntry>> LineEntries; 110 void AddLineNote(FileID FID, unsigned Offset, 118 const LineEntry *FindNearestLineEntry(FileID FID, unsigned Offset); 121 using iterator = std::map<FileID, std::vector<LineEntry>>::iterator; 128 void AddEntry(FileID FID, const std::vector<LineEntry> &Entries);
|
| SourceLocation.h | 41 class FileID { 50 bool operator==(const FileID &RHS) const { return ID == RHS.ID; } 51 bool operator<(const FileID &RHS) const { return ID < RHS.ID; } 52 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; } 53 bool operator!=(const FileID &RHS) const { return !(*this == RHS); } 54 bool operator>(const FileID &RHS) const { return RHS < *this; } 55 bool operator>=(const FileID &RHS) const { return RHS <= *this; } 57 static FileID getSentinel() { return get(-1); } 65 static FileID get(int V) { 66 FileID F [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Basic/ |
| SourceManager.cpp | 205 void LineTableInfo::AddLineNote(FileID FID, unsigned Offset, unsigned LineNo, 240 const LineEntry *LineTableInfo::FindNearestLineEntry(FileID FID, 259 void LineTableInfo::AddEntry(FileID FID, 269 /// AddLineNote - Add a line note to the line table for the FileID and offset 276 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc); 337 MainFileID = FileID(); 341 LastLineNoFileIDQuery = FileID(); 343 LastFileIDLookup = FileID(); 348 // Use up FileID #0 as an invalid expansion. 487 /// Returns the previous in-order FileID or an invalid FileID if ther [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| SerializedDiagnosticReader.h | 47 unsigned FileID; 52 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) 53 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {}
|
| VerifyDiagnosticConsumer.h | 291 using ParsedFilesMap = llvm::DenseMap<FileID, const FileEntry *>; 292 using UnparsedFilesMap = llvm::DenseMap<FileID, UnparsedFileStatus>; 321 void UpdateParsedFileStatus(SourceManager &SM, FileID FID, ParsedStatus PS);
|
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| PreprocessorLexer.cpp | 24 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid) 48 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
|
| /src/external/apache2/llvm/dist/clang/include/clang/Edit/ |
| FileOffset.h | 19 FileID FID; 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) {} 28 FileID getFID() const { return FID; }
|
| /src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/ |
| CoverageMappingWriter.cpp | 167 if (LHS.FileID != RHS.FileID) 168 return LHS.FileID < RHS.FileID; 174 // Write out the fileid -> filename mapping. 176 for (const auto &FileID : VirtualFileMapping) 177 encodeULEB128(FileID, OS); 190 // subarray has a fileID which is the index of that subarray. 194 if (I->FileID != CurrentFileID) { 196 assert(I->FileID == (CurrentFileID + 1)) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
| PreprocessorLexer.h | 38 /// The SourceManager FileID corresponding to the file being lexed. 39 const FileID FID; 78 PreprocessorLexer(Preprocessor *pp, FileID fid); 146 FileID getFileID() const { 157 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
|
| /src/external/apache2/llvm/dist/clang/lib/Rewrite/ |
| Rewriter.cpp | 150 FileID StartFileID, EndFileID; 159 std::map<FileID, RewriteBuffer>::const_iterator I = 189 FileID StartFileID, EndFileID; 199 std::map<FileID, RewriteBuffer>::const_iterator I = 232 FileID &FID) const { 234 std::pair<FileID, unsigned> V = SourceMgr->getDecomposedLoc(Loc); 239 /// getEditBuffer - Get or create a RewriteBuffer for the specified FileID. 240 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) { 241 std::map<FileID, RewriteBuffer>::iterator I = 258 FileID FID [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Frontend/ |
| FixItRewriter.h | 96 bool IsModified(FileID ID) const { 109 bool WriteFixedFile(FileID ID, raw_ostream &OS);
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| MacroPPCallbacks.h | 99 FileID PrevFID = FileID()) override;
|
| /src/external/apache2/llvm/dist/clang/lib/Format/ |
| FormatTokenLexer.h | 40 FormatTokenLexer(const SourceManager &SourceMgr, FileID ID, unsigned Column, 105 FileID ID;
|
| TokenAnalyzer.h | 47 FileID getFileID() const { return ID; } 72 FileID ID; 97 // Stores Style, FileID and SourceManager etc.
|
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/ |
| Tokens.h | 54 FileRange(FileID File, unsigned BeginOffset, unsigned EndOffset); 62 FileID file() const { return File; } 94 FileID File; 168 /// tokens for each of the files can be obtained via spelledTokens(FileID). 295 llvm::ArrayRef<syntax::Token> spelledTokens(FileID FID) const; 309 std::vector<const syntax::Token *> macroExpansions(FileID FID) const; 342 /// FIXME: spelled tokens don't change across FileID that map to the same 347 /// The first expanded token produced for this FileID. 377 llvm::DenseMap<FileID, MarkedFile> Files; 407 std::vector<syntax::Token> tokenize(FileID FID, const SourceManager &SM [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Index/ |
| IndexDataConsumer.h | 19 class FileID;
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| RawCommentList.cpp | 126 FileID BeginFileID; 153 FileID BeginFileID; 154 FileID EndFileID; 228 std::pair<FileID, unsigned> Loc1Info = SM.getDecomposedLoc(Loc1); 229 std::pair<FileID, unsigned> Loc2Info = SM.getDecomposedLoc(Loc2); 283 std::pair<FileID, unsigned> Loc = 286 const FileID CommentFile = Loc.first; 329 RawCommentList::getCommentsInFile(FileID File) const { 339 unsigned RawCommentList::getCommentBeginLine(RawComment *C, FileID File,
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/ |
| CoverageMapping.h | 238 unsigned FileID, ExpandedFileID; 242 CounterMappingRegion(Counter Count, unsigned FileID, unsigned ExpandedFileID, 245 : Count(Count), FileID(FileID), ExpandedFileID(ExpandedFileID), 249 CounterMappingRegion(Counter Count, Counter FalseCount, unsigned FileID, 253 : Count(Count), FalseCount(FalseCount), FileID(FileID), 259 makeRegion(Counter Count, unsigned FileID, unsigned LineStart, 261 return CounterMappingRegion(Count, FileID, 0, LineStart, ColumnStart, 266 makeExpansion(unsigned FileID, unsigned ExpandedFileID, unsigned LineStart [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| RawCommentList.h | 189 const std::map<unsigned, RawComment *> *getCommentsInFile(FileID File) const; 193 unsigned getCommentBeginLine(RawComment *C, FileID File, 199 // mapping: FileId -> comment begin offset -> comment 200 llvm::DenseMap<FileID, std::map<unsigned, RawComment *>> OrderedComments;
|
| /src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| DiagnosticRenderer.cpp | 261 retrieveMacroLocation(SourceLocation Loc, FileID MacroFileID, 262 FileID CaretFileID, 263 const SmallVectorImpl<FileID> &CommonArgExpansions, 317 SmallVectorImpl<FileID> &IDs, 334 SmallVectorImpl<FileID> &CommonArgExpansions) { 335 SmallVector<FileID, 4> BeginArgExpansions; 336 SmallVector<FileID, 4> EndArgExpansions; 355 // iff the FileID is the same. 359 FileID CaretLocFileID = CaretLoc.getFileID(); 370 FileID BeginFileID = SM->getFileID(Begin) [all...] |