LLVM  4.0.0
Public Member Functions | List of all members
llvm::AsmCommentConsumer Class Referenceabstract

A callback class which is notified of each comment in an assembly file as it is lexed. More...

#include <MCAsmLexer.h>

Public Member Functions

virtual ~AsmCommentConsumer ()
 
virtual void HandleComment (SMLoc Loc, StringRef CommentText)=0
 Callback function for when a comment is lexed. More...
 

Detailed Description

A callback class which is notified of each comment in an assembly file as it is lexed.

Definition at line 133 of file MCAsmLexer.h.

Constructor & Destructor Documentation

virtual llvm::AsmCommentConsumer::~AsmCommentConsumer ( )
inlinevirtual

Definition at line 135 of file MCAsmLexer.h.

Member Function Documentation

virtual void llvm::AsmCommentConsumer::HandleComment ( SMLoc  Loc,
StringRef  CommentText 
)
pure virtual

Callback function for when a comment is lexed.

Loc is the start of the comment text (excluding the comment-start marker). CommentText is the text of the comment, excluding the comment start and end markers, and the newline for single-line comments.


The documentation for this class was generated from the following file: