Stop propagating method names that violate the coding standard
[oota-llvm.git] / tools / llvm-link / llvm-link.cpp
index 6e404918b669c72ac5b3d93f2f8cf34c81fbd830..b1715a8e27bd631d0e80a40a5c31b943e9a82ded 100644 (file)
@@ -47,7 +47,7 @@ DumpAsm("d", cl::desc("Print assembly as linked"), cl::Hidden);
 //
 static inline std::auto_ptr<Module> LoadFile(const std::string &FN) {
   sys::Path Filename;
-  if (!Filename.set_file(FN)) {
+  if (!Filename.setFile(FN)) {
     std::cerr << "Invalid file name: '" << FN << "'\n";
     return std::auto_ptr<Module>();
   }