aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-25 22:10:35 +0000
committerChris Lattner <sabre@nondot.org>2006-01-25 22:10:35 +0000
commit867335c3395faa3b2cbe17e87c425813b45704b1 (patch)
tree6072923e895996635b1c66cc60aa119322232310
parent0e538791b82db9d62c5fc359a9e38b74e5bd4b09 (diff)
add another method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25616 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/InlineAsm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h
index b86c99ad30..b4edaacd19 100644
--- a/include/llvm/InlineAsm.h
+++ b/include/llvm/InlineAsm.h
@@ -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) {