[llvm-commits] [llvm-gcc-4.2] r74669 - /llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp

Bill Wendling isanbard at gmail.com
Wed Jul 1 16:47:30 PDT 2009


Author: void
Date: Wed Jul  1 18:47:29 2009
New Revision: 74669

URL: http://llvm.org/viewvc/llvm-project?rev=74669&view=rev
Log:
Fix. Don't make this a function.

Modified:
    llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp

Modified: llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp?rev=74669&r1=74668&r2=74669&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp Wed Jul  1 18:47:29 2009
@@ -46,7 +46,7 @@
 ///
 void dummy_function() {
   llvm::ModuleProvider *MP = new llvm::ExistingModuleProvider(0);
-  llvm::LLVMContext Ctxt();
+  llvm::LLVMContext Ctxt;
 
   llvm::createVerifierPass();
   llvm::CreateBitcodeWriterPass(*llvm::cout);





More information about the llvm-commits mailing list