add another method

llvm-svn: 25616
This commit is contained in:
Chris Lattner 2006-01-25 22:10:35 +00:00
parent d932b627f7
commit 81aef013ac

View File

@ -59,6 +59,13 @@ public:
virtual void print(std::ostream &O) const { print(O, 0); }
void print(std::ostream &OS, AssemblyAnnotationWriter *AAW) const;
/// Verify - This static method can be used by the parser to check to see if
/// the specified constraint string is legal for the type. This returns true
/// if legal, false if not.
///
static bool Verify(const FunctionType *Ty, const std::string &Constraints);
// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const InlineAsm *) { return true; }
static inline bool classof(const Value *V) {