add another method
authorChris Lattner <sabre@nondot.org>
Wed, 25 Jan 2006 22:10:35 +0000 (22:10 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Jan 2006 22:10:35 +0000 (22:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25616 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/InlineAsm.h

index b86c99ad303cb1728de4c7a8c9050c20c1f1dda2..b4edaacd196abecac3600920f6fbaa1049b91155 100644 (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) {