projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1f75a
)
Add a few virtual functions to the abstract MCParsedAsmOperand class.
author
Chad Rosier
<mcrosier@apple.com>
Tue, 11 Sep 2012 23:03:44 +0000
(23:03 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Tue, 11 Sep 2012 23:03:44 +0000
(23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163655
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCParser/MCParsedAsmOperand.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCParser/MCParsedAsmOperand.h
b/include/llvm/MC/MCParser/MCParsedAsmOperand.h
index 2556e5f27a305705d4936de27427bc08254d4c33..0e2d46eecefaa5173b662a2c3e0b2c97388b888e 100644
(file)
--- a/
include/llvm/MC/MCParser/MCParsedAsmOperand.h
+++ b/
include/llvm/MC/MCParser/MCParsedAsmOperand.h
@@
-23,6
+23,11
@@
public:
MCParsedAsmOperand() {}
virtual ~MCParsedAsmOperand() {}
+ virtual bool isToken() const = 0;
+ virtual bool isImm() const = 0;
+ virtual bool isReg() const = 0;
+ virtual bool isMem() const = 0;
+
/// getStartLoc - Get the location of the first token of this operand.
virtual SMLoc getStartLoc() const = 0;
/// getEndLoc - Get the location of the last token of this operand.