the default implementation returns "unknown".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93470
91177308-0d34-0410-b5e6-
96231b3b80d8
public:
MCParsedAsmOperand() {}
virtual ~MCParsedAsmOperand() {}
- // TODO: Out of line vfun.
+
+ /// getStartLoc - Get the location of the first token of this operand.
+ virtual SMLoc getStartLoc() const;
+ /// getEndLoc - Get the location of the last token of this operand.
+ virtual SMLoc getEndLoc() const;
};
} // end namespace llvm.
#include "llvm/Target/TargetAsmParser.h"
using namespace llvm;
+/// getStartLoc - Get the location of the first token of this operand.
+SMLoc MCParsedAsmOperand::getStartLoc() const { return SMLoc(); }
+SMLoc MCParsedAsmOperand::getEndLoc() const { return SMLoc(); }
+
+
// Mach-O section uniquing.
//
// FIXME: Figure out where this should live, it should be shared by