[LLVMdev] Namespace problem in include/llvm/Transforms/IPO.h

Morten Ofstad morten at hue.no
Mon Oct 18 02:41:28 PDT 2004


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

m.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041018/6ef0c9af/attachment.txt>


More information about the llvm-dev mailing list