Displaying 3 results from an estimated 3 matches for "kamaljit".
Did you mean:
damanjit
2012 Sep 21
0
[LLVMdev] Clang API parsing of the destructor
On Fri, Sep 21, 2012 at 12:22 PM, Kamaljit Lall <klall at factset.com> wrote:
> I am using the clang API (version 3.1 - trunk 153913) to compile some
> very simple code as follows****
>
> class MyClass
> {
> ~MyClass() ;
>
> };
>
> MyClass::~MyClass()
> {
>
> }
>
> int main()
> {
&...
2012 Sep 21
2
[LLVMdev] Clang API parsing of the destructor
I am using the clang API (version 3.1 - trunk 153913) to compile some very simple code as follows
class MyClass
{
~MyClass() ;
};
MyClass::~MyClass()
{
}
int main()
{
return 0;
}
My problem is that I get the error message: test.cpp:20:10: error: destructor cannot have a return type MyClass::~MyClass()
If someone can point me to the right direction that would be great. It compiles fine if
2012 Sep 21
1
[LLVMdev] clang and __builtin_va_list
I am using the Clang c++ API. I have a blocking issue because the builtin __builtin_va_list clang isn't defined.
Here is the error:
..lib/clang/3.2/include/stdarg.h:30:9: error: unknown type name '__builtin_va_list'; did you mean '__builtin_va_list'? typedef __builtin_va_list va_list;
>From what I've read, this builtin is target dependent.
This builtin is not defined