LLVM
8.0.1
|
A callback class which is notified of each comment in an assembly file as it is lexed. More...
#include "llvm/MC/MCParser/MCAsmLexer.h"
Public Member Functions | |
virtual | ~AsmCommentConsumer ()=default |
virtual void | HandleComment (SMLoc Loc, StringRef CommentText)=0 |
Callback function for when a comment is lexed. More... | |
A callback class which is notified of each comment in an assembly file as it is lexed.
Definition at line 26 of file MCAsmLexer.h.
|
virtualdefault |
|
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.
Referenced by IsIdentifierChar().