Home | History | Annotate | Download | only in MCParser

Lines Matching defs:Parser

1 //===- AsmParser.cpp - Parser for Assembly Files --------------------------===//
10 // This class implements the parser for assembly files.
120 /// \brief The concrete assembly parser instance.
141 /// \brief maps directive names to handler methods in parser
260 /// \brief Are macros enabled in the parser?
263 /// \brief Control a flag in the parser that enables or disables macros.
504 // Initialize the platform / file format parser.
1353 // 1. The target-specific assembly parser. Some directives are target
1355 // 2. Asm parser extensions. For example, platform-specific parsers
1356 // (like the ELF parser) register themselves as extensions.
1357 // 3. The generic directive parser implemented by this class. These are
1362 // First query the target-specific parser. It will return 'true' if it
1639 // Don't skip the rest of the line, the instruction parser is responsible for
1692 const AsmParser *Parser = static_cast<const AsmParser *>(Context);
1699 Parser->SrcMgr.FindBufferContainingLoc(Parser->CppHashLoc);
1704 if (!Parser->SavedDiagHandler && DiagCurBuffer &&
1713 if (!Parser->CppHashLineNumber || &DiagSrcMgr != &Parser->SrcMgr ||
1715 if (Parser->SavedDiagHandler)
1716 Parser->SavedDiagHandler(Diag, Parser->SavedDiagContext);
1725 const std::string &Filename = Parser->CppHashFilename;
1729 Parser->SrcMgr.FindLineNumber(Parser->CppHashLoc, CppHashBuf);
1731 Parser->CppHashLineNumber - 1 + (DiagLocLineNo - CppHashLocLineNo);
1737 if (Parser->SavedDiagHandler)
1738 Parser->SavedDiagHandler(NewDiag, Parser->SavedDiagContext);