search for: constnam

Displaying 3 results from an estimated 3 matches for "constnam".

Did you mean: constname
2006 Oct 16
0
[LLVMdev] initializer does not match global variable type.
Hi Todd, On Mon, 2006-10-16 at 14:04 -0700, Anderson, Todd A wrote: > >-----Original Message----- > >From: llvmdev-bounces at cs.uiuc.edu > >[mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner > >Sent: Monday, October 16, 2006 2:09 PM > >To: LLVM Developers Mailing List > >Subject: Re: [LLVMdev] initializer does not match global variable type.
2006 Oct 16
2
[LLVMdev] initializer does not match global variable type.
>-----Original Message----- >From: llvmdev-bounces at cs.uiuc.edu >[mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner >Sent: Monday, October 16, 2006 2:09 PM >To: LLVM Developers Mailing List >Subject: Re: [LLVMdev] initializer does not match global variable type. > >On Mon, 16 Oct 2006, Anderson, Todd A wrote: >> I have an objective-c file, bar.m,
2006 Oct 17
1
[LLVMdev] initializer does not match global variable type.
>Right. This looks like it's just a simple bug in llvm2cpp. >CppWriter.cpp:698 contains: > > if (CA->isString() && CA->getType()->getElementType() == >Type::SByteTy) { > Out << "Constant* " << constName << " = ConstantArray::get(\""; > printEscapedString(CA->getAsString()); > // Determine if we want null termination or not. > if (CA->getType()->getNumElements() <= >CA->getAsString().length()) > Out << "\&quot...