Correct the interface of a function to use the correct typedef for an
authorReid Spencer <rspencer@reidspencer.com>
Sat, 11 Sep 2004 04:29:13 +0000 (04:29 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 11 Sep 2004 04:29:13 +0000 (04:29 +0000)
argument so that it will always compile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16284 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Bytecode/Reader.h

index a28c0e5fd7a31b1834a51cad9701ab442c4b7e5a..4b9f802d384763e778eeb9780daab1d902e7416e 100644 (file)
@@ -20,8 +20,8 @@
 #define LLVM_BYTECODE_READER_H
 
 #include "llvm/ModuleProvider.h"
+#include "llvm/Module.h"
 #include <string>
-#include <vector>
 
 namespace llvm {
 
@@ -60,7 +60,7 @@ Module* ParseBytecodeBuffer(const unsigned char *Buffer,
 /// @returns true on success, false otherwise
 /// @brief Get the list of dependent libraries from a bytecode file.
 bool GetBytecodeDependentLibraries(const std::string &fileName, 
-                                   std::vector<std::string>& deplibs);
+                                   Module::LibraryListType& deplibs);
 
 /// Read bytecode files from the specfied archive (.a) file, convert them
 /// to Module* and provide them in the \p Objects argument. If an error