search for: structnametest1

Displaying 1 result from an estimated 1 matches for "structnametest1".

Did you mean: structnametest2
2008 Nov 19
1
[LLVMdev] Why is "typedef boost::shared_ptr<MyClass> MyClass_ptr" named "struct.boost::MyClass_ptr" by llvm-g++?
Hi, In the code below, MyNamespace::MyClass_ptr will be named "struct.boost::MyClass_ptr" by llvm-g++, and not "struct.MyNamespace::MyClass_ptr" as I expected. I observed this with the real boost::shared_ptr but used the code below (also attached as structnametest1.cc) on the demo page (http://llvm.org/demo/index.cgi) to reproduce the behavior. When I extended my test code to create a MyClass and MyClass_ptr in the boost namespace too, it seems like both struct:s get called "struct.boost::MyClass_ptr". (Attached as structnametest2.cc) I have a sus...