[llvm-commits] CVS: llvm/include/llvm/Assembly/Parser.h

Chris Lattner lattner at cs.uiuc.edu
Thu May 19 20:25:41 PDT 2005



Changes in directory llvm/include/llvm/Assembly:

Parser.h updated: 1.11 -> 1.12
---
Log message:

Give the asmparser the ability to parse strings, patch contributed by
Alexander Friedman!


---
Diffs of the changes:  (+1 -0)

 Parser.h |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/include/llvm/Assembly/Parser.h
diff -u llvm/include/llvm/Assembly/Parser.h:1.11 llvm/include/llvm/Assembly/Parser.h:1.12
--- llvm/include/llvm/Assembly/Parser.h:1.11	Thu Apr 21 22:27:03 2005
+++ llvm/include/llvm/Assembly/Parser.h	Thu May 19 22:25:29 2005
@@ -28,6 +28,7 @@
 // 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






More information about the llvm-commits mailing list