HomeSort by relevance Sort by last modified time
    Searched refs:FileID (Results 1 - 25 of 58) sorted by null

1 2 3

  /external/clang/include/clang/Rewrite/
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);
FixItRewriter.h 69 bool IsModified(FileID ID) const {
80 bool WriteFixedFile(FileID ID, raw_ostream &OS);
Rewriter.h 128 std::map<FileID, RewriteBuffer> RewriteBuffers;
147 typedef std::map<FileID, RewriteBuffer>::iterator buffer_iterator;
267 /// FileID's buffer.
268 RewriteBuffer &getEditBuffer(FileID FID);
270 /// getRewriteBufferFor - Return the rewrite buffer for the specified FileID.
272 const RewriteBuffer *getRewriteBufferFor(FileID FID) const {
273 std::map<FileID, RewriteBuffer>::const_iterator I =
283 unsigned getLocationOffsetAndFileID(SourceLocation Loc, FileID &FID) const;
TokenRewriter.h 30 /// of these tokens has a unique SourceLocation, which is a FileID.
50 /// specified FileID.
51 TokenRewriter(FileID FID, SourceManager &SM, const LangOptions &LO);
  /external/clang/include/clang/Basic/
SourceLocation.h 33 /// FileID - This is an opaque identifier used by SourceManager which refers to
36 class FileID {
41 FileID() : ID(0) {}
45 bool operator==(const FileID &RHS) const { return ID == RHS.ID; }
46 bool operator<(const FileID &RHS) const { return ID < RHS.ID; }
47 bool operator<=(const FileID &RHS) const { return ID <= RHS.ID; }
48 bool operator!=(const FileID &RHS) const { return !(*this == RHS); }
49 bool operator>(const FileID &RHS) const { return RHS < *this; }
50 bool operator>=(const FileID &RHS) const { return RHS <= *this; }
52 static FileID getSentinel() { return get(-1);
    [all...]
SourceManager.h 192 /// FileInfo - Information about a FileID, basically just the logical file
245 /// hasLineDirectives - Return true if this FileID has #line directives in
249 /// setHasLineDirectives - Set the flag that indicates that this FileID has
339 /// they are uniquely identified by the FileID datatype.
398 FileID LQueryFID, RQueryFID;
406 FileID CommonFID;
417 bool isCacheValid(FileID LHS, FileID RHS) const {
433 // in which case its FileID will come before the other.
442 void setQueryFIDs(FileID LHS, FileID RHS, bool isLFIDBeforeRFID)
    [all...]
  /external/clang/include/clang/Frontend/
VerifyDiagnosticConsumer.h 74 FileID FirstErrorFID; // FileID of first diagnostic
TextDiagnostic.h 141 unsigned LineNo, FileID FID,
  /external/clang/include/clang/Lex/
PreprocessorLexer.h 30 /// The SourceManager FileID corresponding to the file being lexed.
31 const FileID FID;
73 PreprocessorLexer(Preprocessor *pp, FileID fid);
149 FileID getFileID() const {
160 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
PTHLexer.h 64 PTHLexer(Preprocessor& pp, FileID FID, const unsigned char *D,
PTHManager.h 129 PTHLexer *CreateLexer(FileID FID);
  /external/clang/include/clang/AST/
ASTImporter.h 66 llvm::DenseMap<FileID, FileID> ImportedFileIDs;
198 FileID Import(FileID);
  /external/clang/lib/Lex/
PreprocessorLexer.cpp 20 PreprocessorLexer::PreprocessorLexer(Preprocessor *pp, FileID fid)
49 /// getFileEntry - Return the FileEntry corresponding to this FileID. Like
ScratchBuffer.cpp 68 FileID FID = SourceMgr.createFileIDForMemBuffer(Buf);
MacroInfo.cpp 75 std::pair<FileID, unsigned>
77 std::pair<FileID, unsigned>
  /external/clang/lib/Basic/
SourceManager.cpp 288 /// AddLineNote - Add a line note to the line table for the FileID and offset
293 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
323 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc);
392 for (llvm::DenseMap<FileID, MacroArgsMap *>::iterator
399 MainFileID = FileID();
403 LastLineNoFileIDQuery = FileID();
405 LastFileIDLookup = FileID();
410 // Use up FileID #0 as an invalid expansion.
487 // Methods to create new FileID's and macro expansions.
490 /// createFileID - Create a new FileID for the specified ContentCache an
    [all...]
SourceLocation.cpp 72 FileID FullSourceLoc::getFileID() const {
132 std::pair<FileID, unsigned> FullSourceLoc::getDecomposedLoc() const {
  /external/clang/lib/Rewrite/
Rewriter.cpp 123 FileID StartFileID, EndFileID;
134 std::map<FileID, RewriteBuffer>::const_iterator I =
167 FileID StartFileID, EndFileID;
177 std::map<FileID, RewriteBuffer>::const_iterator I =
207 FileID &FID) const {
209 std::pair<FileID,unsigned> V = SourceMgr->getDecomposedLoc(Loc);
215 /// getEditBuffer - Get or create a RewriteBuffer for the specified FileID.
217 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) {
218 std::map<FileID, RewriteBuffer>::iterator I =
235 FileID FID
    [all...]
HTMLRewrite.cpp 38 FileID FID = SM.getFileID(B);
107 void html::EscapeText(Rewriter &R, FileID FID,
228 void html::AddLineNumbers(Rewriter& R, FileID FID) {
272 void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID,
354 /// SyntaxHighlight - Relex the specified FileID and annotate the HTML with
358 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) {
377 // FileID.
447 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
HTMLPrint.cpp 66 FileID FID = R.getSourceMgr().getMainFileID();
TokenRewriter.cpp 21 TokenRewriter::TokenRewriter(FileID FID, SourceManager &SM,
  /external/clang/lib/ARCMigrate/
PlistReporter.cpp 20 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();
  /external/clang/lib/Frontend/
HeaderIncludeGen.cpp 43 FileID PrevFID);
77 FileID PrevFID) {
  /external/clang/lib/StaticAnalyzer/Core/
PlistDiagnostics.cpp 26 typedef llvm::DenseMap<FileID, unsigned> FIDMap;
109 static void AddFID(FIDMap &FIDs, SmallVectorImpl<FileID> &V,
112 FileID FID = SM->getFileID(SM->getExpansionLoc(L));
121 FileID FID = SM.getFileID(SM.getExpansionLoc(L));
356 SmallVector<FileID, 10> Fids;
399 for (SmallVectorImpl<FileID>::iterator I=Fids.begin(), E=Fids.end();
  /external/clang/tools/libclang/
CIndexHigh.cpp 43 FileID FID;
51 FindFileIdRefVisitData(CXTranslationUnit TU, FileID FID,
179 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc);
203 FileID FID = SM.translateFile(File);

Completed in 371 milliseconds

1 2 3