HomeSort by relevance Sort by last modified time
    Searched defs:SourceMgr (Results 1 - 25 of 39) sorted by null

1 2

  /external/clang/include/clang/Lex/
ScratchBuffer.h 26 SourceManager &SourceMgr;
PPConditionalDirectiveRecord.h 27 SourceManager &SourceMgr;
71 SourceManager &getSourceManager() const { return SourceMgr; }
ModuleMap.h 40 SourceManager &SourceMgr;
210 /// \param SourceMgr The source manager used to find module files and headers.
219 ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags,
  /external/clang/include/clang/AST/
CommentParser.h 44 const SourceManager &SourceMgr;
94 const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
CommentSema.h 27 class SourceMgr;
41 const SourceManager &SourceMgr;
73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
RawCommentList.h 43 RawComment(const SourceManager &SourceMgr, SourceRange SR,
101 StringRef getRawText(const SourceManager &SourceMgr) const {
105 RawText = getRawTextSlow(SourceMgr);
156 StringRef getRawTextSlow(const SourceManager &SourceMgr) const;
184 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {}
193 SourceManager &SourceMgr;
  /external/clang/include/clang/Edit/
EditedSource.h 28 const SourceManager &SourceMgr;
49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec),
52 const SourceManager &getSourceManager() const { return SourceMgr; }
Commit.h 48 const SourceManager &SourceMgr;
62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(nullptr),
  /external/clang/unittests/Lex/
PPConditionalDirectiveRecordTest.cpp 37 SourceMgr(Diags, FileMgr),
48 SourceManager SourceMgr;
94 SourceMgr.setMainFileID(SourceMgr.createFileID(buf));
97 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts,
99 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr,
105 PPRec = new PPConditionalDirectiveRecord(SourceMgr);
LexerTest.cpp 56 SourceMgr(Diags, FileMgr),
66 SourceMgr.setMainFileID(SourceMgr.createFileID(buf));
69 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts,
71 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr,
99 SourceMgr, LangOpts, &Invalid);
109 SourceManager SourceMgr;
292 macroPair = SourceMgr.getExpansionRange(lsqrLoc);
296 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc));
298 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts))
    [all...]
PPCallbacksTest.cpp 122 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) {
132 SourceManager SourceMgr;
153 const char* B = SourceMgr.getCharacterData(Range.getBegin());
154 const char* E = SourceMgr.getCharacterData(Range.getEnd());
164 SourceMgr.setMainFileID(SourceMgr.createFileID(Buf));
169 HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts,
174 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader,
201 SourceMgr.setMainFileID(SourceMgr.createFileID(sourceBuf))
    [all...]
  /external/clang/lib/Format/
WhitespaceManager.h 40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style,
42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {}
91 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {}
95 const SourceManager &SourceMgr;
194 SourceManager &SourceMgr;
ContinuationIndenter.h 38 ContinuationIndenter(const FormatStyle &Style, SourceManager &SourceMgr,
137 SourceManager &SourceMgr;
  /external/clang/unittests/AST/
CommentLexer.cpp 34 SourceMgr(Diags, FileMgr),
42 SourceManager SourceMgr;
64 FileID File = SourceMgr.createFileID(Buf);
65 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File);
    [all...]
CommentParser.cpp 41 SourceMgr(Diags, FileMgr),
49 SourceManager SourceMgr;
58 FileID File = SourceMgr.createFileID(Buf);
59 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File);
63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ nullptr);
64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits);
69 FC->dump(llvm::errs(), &Traits, &SourceMgr);
    [all...]
  /external/clang/include/clang/Rewrite/Core/
Rewriter.h 128 SourceManager *SourceMgr;
153 : SourceMgr(&SM), LangOpts(&LO) {}
154 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {}
157 SourceMgr = &SM;
160 SourceManager &getSourceMgr() const { return *SourceMgr; }
  /external/clang/lib/Frontend/
FrontendActions.cpp 271 SourceManager &SourceMgr = CI.getSourceManager();
272 if (SourceMgr.getModuleBuildStack().empty())
273 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule,
274 FullSourceLoc(SourceLocation(), SourceMgr));
PrintPreprocessedOutput.cpp 258 SourceManager &SourceMgr = SM;
260 PresumedLoc UserLoc = SourceMgr.getPresumedLoc(Loc);
735 const SourceManager &SourceMgr = PP.getSourceManager();
742 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
  /external/clang/lib/Lex/
TokenLexer.cpp 574 SourceManager &SourceMgr = PP.getSourceManager();
575 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc);
579 = SourceMgr.getBufferData(LocFileID, &Invalid).data();
585 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID),
    [all...]
  /external/clang/unittests/Basic/
SourceManagerTest.cpp 38 SourceMgr(Diags, FileMgr),
48 SourceManager SourceMgr;
78 FileID mainFileID = SourceMgr.createFileID(buf);
79 SourceMgr.setMainFileID(mainFileID);
82 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts,
84 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr,
110 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1);
111 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6);
119 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc));
120 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, rsqrLoc))
    [all...]
  /external/llvm/include/llvm/Support/
SourceMgr.h 1 //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===//
10 // This file declares the SMDiagnostic and SourceMgr classes. This
27 class SourceMgr;
35 class SourceMgr {
63 /// private to SourceMgr.cpp.
71 SourceMgr(const SourceMgr&) LLVM_DELETED_FUNCTION;
72 void operator=(const SourceMgr&) LLVM_DELETED_FUNCTION;
74 SourceMgr()
76 ~SourceMgr();
    [all...]
  /external/llvm/lib/Support/
SourceMgr.cpp 1 //===- SourceMgr.cpp - Manager for Simple Source Buffers & Diagnostics ----===//
10 // This file implements the SourceMgr class. This class is used as a simple
16 #include "llvm/Support/SourceMgr.h"
41 SourceMgr::~SourceMgr() {
52 unsigned SourceMgr::AddIncludeFile(const std::string &Filename,
73 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const {
84 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const {
128 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const {
142 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind
    [all...]
  /system/extras/tests/bionic/libc/other/
test_jpeg.c 54 } SourceMgrRec, *SourceMgr;
59 SourceMgr src = (SourceMgr) cinfo->src;
68 SourceMgr src = (SourceMgr) cinfo->src;
77 SourceMgr src = (SourceMgr) cinfo->src;
90 SourceMgr src = (SourceMgr) cinfo->src;
104 _source_init( SourceMgr src, char* base, long size
142 SourceMgrRec sourcemgr; local
    [all...]
  /external/clang/include/clang/Frontend/
CompilerInstance.h 85 IntrusiveRefCntPtr<SourceManager> SourceMgr;
374 bool hasSourceManager() const { return SourceMgr != nullptr; }
378 assert(SourceMgr && "Compiler instance has no source manager!");
379 return *SourceMgr;
383 BuryPointer(SourceMgr.get());
384 SourceMgr.resetWithoutRelease();
694 SourceManager &SourceMgr,
  /external/clang/lib/CodeGen/
CodeGenAction.cpp 33 #include "llvm/Support/SourceMgr.h"
255 /// ConvertBackendLocation - Convert a location in a temporary llvm::SourceMgr
262 const llvm::SourceMgr &LSM = *D.getSourceMgr();
264 // We need to copy the underlying LLVM memory buffer because llvm::SourceMgr
305 case llvm::SourceMgr::DK_Error:
308 case llvm::SourceMgr::DK_Warning:
311 case llvm::SourceMgr::DK_Note:
424 SourceManager &SourceMgr = Context->getSourceManager();
425 FileManager &FileMgr = SourceMgr.getFileManager();
434 DILoc = SourceMgr.translateFileLineCol(FE, Line, Column ? Column : 1)
    [all...]

Completed in 190 milliseconds

1 2