forked from OSchip/llvm-project
Now GenericAsmParser and AsmParser are no longer friends, GenericAsmParser can
simply use the getParser method from MCAsmParserExtension, working through the MCAsmParser interface. There's no longer a need to overload that method to cast it to the concrete AsmParser. llvm-svn: 172491
This commit is contained in:
parent
382741283f
commit
e6f4c68373
|
@ -375,10 +375,6 @@ class GenericAsmParser : public MCAsmParserExtension {
|
|||
public:
|
||||
GenericAsmParser() {}
|
||||
|
||||
AsmParser &getParser() {
|
||||
return (AsmParser&) this->MCAsmParserExtension::getParser();
|
||||
}
|
||||
|
||||
virtual void Initialize(MCAsmParser &Parser) {
|
||||
// Call the base implementation.
|
||||
this->MCAsmParserExtension::Initialize(Parser);
|
||||
|
|
Loading…
Reference in New Issue