Namespace problem in include/llvm/Transforms/IPO.h

createBlockExtractorPass was declared with llvm::, but it was inside a namespace llvm {} block, so Visual C thinks it is llvm::llvm:: -- as far as I can tell from the C++ standard, this is correct behaviour, so I don't know why gcc wasn't complaining... Here is the patch


diff.txt (684 Bytes)