HomeSort by relevance Sort by last modified time
    Searched refs:SourceMgr (Results 76 - 100 of 132) sorted by null

1 2 34 5 6

  /external/clang/unittests/AST/
CommentParser.cpp 41 SourceMgr(Diags, FileMgr),
49 SourceManager SourceMgr;
58 FileID File = SourceMgr.createFileID(std::move(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/llvm/lib/Support/
YAMLParser.cpp 23 #include "llvm/Support/SourceMgr.h"
268 Scanner(StringRef Input, SourceMgr &SM, bool ShowColors = true);
269 Scanner(MemoryBufferRef Buffer, SourceMgr &SM_, bool ShowColors = true);
277 void printError(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Message,
289 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message);
521 /// @brief The SourceMgr used for diagnostics and buffer management.
522 SourceMgr &SM;
602 SourceMgr SM;
686 llvm::SourceMgr SM;
761 Scanner::Scanner(StringRef Input, SourceMgr &sm, bool ShowColors
    [all...]
  /external/clang/include/clang/Basic/
Diagnostic.h 192 SourceManager *SourceMgr;
378 bool hasSourceManager() const { return SourceMgr != nullptr; }
380 assert(SourceMgr && "SourceManager not set!");
381 return *SourceMgr;
383 void setSourceManager(SourceManager *SrcMgr) { SourceMgr = SrcMgr; }
    [all...]
VirtualFileSystem.h 21 #include "llvm/Support/SourceMgr.h"
315 llvm::SourceMgr::DiagHandlerTy DiagHandler,
  /external/clang/lib/AST/
CommentParser.cpp 258 const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
260 L(L), S(S), Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags),
516 const unsigned StartLine = SourceMgr.getPresumedLineNumber(
520 const unsigned EndLine = SourceMgr.getPresumedLineNumber(
CommentSema.cpp 28 Sema::Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
31 Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), Traits(Traits),
520 const unsigned OpenLine = SourceMgr.getPresumedLineNumber(
524 const unsigned CloseLine = SourceMgr.getPresumedLineNumber(
    [all...]
  /external/clang/lib/ARCMigrate/
ObjCMT.cpp 34 #include "llvm/Support/SourceMgr.h"
    [all...]
  /external/llvm/lib/CodeGen/MIRParser/
MIParser.cpp 32 #include "llvm/Support/SourceMgr.h"
58 SourceMgr &SM;
86 MIParser(SourceMgr &SM, MachineFunction &MF, SMDiagnostic &Error,
247 MIParser::MIParser(SourceMgr &SM, MachineFunction &MF, SMDiagnostic &Error,
267 Error = SM.GetMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
272 Loc - Source.data(), SourceMgr::DK_Error, Msg.str(),
    [all...]
  /frameworks/compile/slang/
slang.cpp 596 const clang::SourceManager &SourceMgr) {
597 clang::FullSourceLoc FSL(Loc, SourceMgr);
598 clang::PresumedLoc PLoc = SourceMgr.getPresumedLoc(FSL);
slang.h 222 const clang::SourceManager &SourceMgr);
  /external/clang/lib/Sema/
Sema.cpp 47 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
79 Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()),
    [all...]
  /external/llvm/include/llvm/MC/
MCDwarf.h 37 class SourceMgr;
323 static void Make(MCSymbol *Symbol, MCStreamer *MCOS, SourceMgr &SrcMgr,
  /external/llvm/lib/MC/
MCContext.cpp 32 #include "llvm/Support/SourceMgr.h"
38 const MCObjectFileInfo *mofi, const SourceMgr *mgr,
490 SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
  /external/clang/include/clang/AST/
CommentLexer.h 354 const SourceManager &SourceMgr,
  /external/clang/lib/Frontend/
FrontendActions.cpp 309 SourceManager &SourceMgr = CI.getSourceManager();
310 if (SourceMgr.getModuleBuildStack().empty())
311 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule,
312 FullSourceLoc(SourceLocation(), SourceMgr));
  /external/clang/lib/Parse/
ParseStmtAsm.cpp 31 #include "llvm/Support/SourceMgr.h"
96 StringRef LookupInlineAsmLabel(StringRef Identifier, llvm::SourceMgr &LSM,
145 SourceLocation translateLocation(const llvm::SourceMgr &LSM, llvm::SMLoc SMLoc) {
172 const llvm::SourceMgr &LSM = *D.getSourceMgr();
535 llvm::SourceMgr TempSrcMgr;
  /external/clang/utils/TableGen/
ClangDiagnosticsEmitter.cpp 247 SourceMgr::DK_Error,
254 SourceMgr::DK_Note, "group defined here");
269 SourceMgr::DK_Error,
278 SourceMgr::DK_Note, "also referenced here",
    [all...]
  /external/llvm/lib/TableGen/
TGLexer.cpp 19 #include "llvm/Support/SourceMgr.h"
29 TGLexer::TGLexer(SourceMgr &SM) : SrcMgr(SM) {
316 SrcMgr.PrintMessage(Found->second, SourceMgr::DK_Note,
TGParser.h 19 #include "llvm/Support/SourceMgr.h"
87 TGParser(SourceMgr &SrcMgr, RecordKeeper &records)
  /external/llvm/lib/MC/MCParser/
AsmParser.cpp 41 #include "llvm/Support/SourceMgr.h"
123 SourceMgr &SrcMgr;
124 SourceMgr::DiagHandlerTy SavedDiagHandler;
129 /// SourceMgr object.
165 /// and current line. Since this is slow and messes up the SourceMgr's
181 AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
200 SourceMgr &getSourceManager() override { return SrcMgr; }
300 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg,
505 AsmParser::AsmParser(SourceMgr &SM, MCContext &Ctx, MCStreamer &Out,
549 printMessage((*it)->InstantiationLoc, SourceMgr::DK_Note
    [all...]
  /external/clang/include/clang/Serialization/
ASTWriter.h 512 void WriteInputFiles(SourceManager &SourceMgr, HeaderSearchOptions &HSOpts,
514 void WriteSourceManagerBlock(SourceManager &SourceMgr,
    [all...]
  /external/clang/include/clang/Format/
Format.h 738 SourceManager &SourceMgr, FileID ID,
  /external/clang/include/clang/Lex/
HeaderSearch.h 254 SourceManager &SourceMgr, DiagnosticsEngine &Diags,
  /external/llvm/lib/Object/
IRObjectFile.cpp 32 #include "llvm/Support/SourceMgr.h"
76 SourceMgr SrcMgr;
  /external/clang/tools/libclang/
CIndexCodeCompletion.cpp 273 IntrusiveRefCntPtr<SourceManager> SourceMgr;
327 FileMgr(FileMgr), SourceMgr(new SourceManager(*Diag, *FileMgr)),
709 Results->LangOpts, *Results->SourceMgr, *Results->FileMgr,
    [all...]

Completed in 1662 milliseconds

1 2 34 5 6