From 98c162a08635fbfc94196195bd8e73fef3196784 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 20 May 2005 03:25:29 +0000 Subject: [PATCH] Give the asmparser the ability to parse strings, patch contributed by Alexander Friedman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22145 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Assembly/Parser.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h index d2edd665e36..39a622b2868 100644 --- a/include/llvm/Assembly/Parser.h +++ b/include/llvm/Assembly/Parser.h @@ -28,6 +28,7 @@ class ParseException; // the verifier after parsing the file to check that it's ok. // Module *ParseAssemblyFile(const std::string &Filename);// throw (ParseException) +Module *ParseAssemblyString(const char * AsmString, Module * M);// throw (ParseException) //===------------------------------------------------------------------------=== // Helper Classes