search for: integerssubset

Displaying 5 results from an estimated 5 matches for "integerssubset".

2012 Jun 24
2
[LLVMdev] Problems building LLVM under Visual Studio
...ct. It got the first three all right, but choked on template issues in LLVMCore: 1>------ Build started: Project: LLVMCore, Configuration: Debug Win32 ------ 1>Compiling... 1>Verifier.cpp 1>Instructions.cpp 1>F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(306) : error C2039: 'size' : is not a member of 'llvm::IntegersSubset' 1>        F:\Documents and Settings\Mason\My Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(458) : see declaration of 'llvm::IntegersSubset' 1>        ..\..\..\lib\VMCore\Verifier.cpp(833...
2012 Jun 24
0
[LLVMdev] Problems building LLVM under Visual Studio
...ght, but choked on template issues in LLVMCore: > > 1>------ Build started: Project: LLVMCore, Configuration: Debug Win32 ------ > 1>Compiling... > 1>Verifier.cpp > 1>Instructions.cpp > 1>F:\Documents and Settings\Mason\My > Documents\VC\llvm\include\llvm/Support/IntegersSubset.h(306) : error C2039: > 'size' : is not a member of 'llvm::IntegersSubset' This was fixed a few hours ago... do a svn update.
2013 Jan 15
0
[LLVMdev] Warnings in headers when compiling on OS X
Hi. Certain headers generate warnings like this one: /usr/local/llvm/include/llvm/Support/IntegersSubset.h:465:12: Implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'unsigned int' 464: static unsigned getNumItemsFromConstant(Constant *C) { 465: return cast<ArrayType>(C->getType())->getNumElements(); 466: } There are a few o...
2012 Nov 29
2
[LLVMdev] [cfe-dev] UB in TypeLoc casting
Moving to LLVM dev to discuss the possibility of extending the cast infrastructure to handle this. On Tue, Nov 20, 2012 at 5:51 PM, John McCall <rjmccall at apple.com> wrote: > On Nov 18, 2012, at 5:05 PM, David Blaikie <dblaikie at gmail.com> wrote: >> TypeLoc casting looks bogus. >> >> TypeLoc derived types return true from classof when the dynamic type >>
2012 Nov 30
0
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...Vals64, VE); Vals64.push_back(VE.getValueID(SI.getDefaultDest())); Vals64.push_back(SI.getNumCases()); - for (SwitchInst::CaseIt i = SI.case_begin(), e = SI.case_end(); + for (SwitchInst::ConstCaseIt i = SI.case_begin(), e = SI.case_end(); i != e; ++i) { - IntegersSubset& CaseRanges = i.getCaseValueEx(); + const IntegersSubset& CaseRanges = i.getCaseValueEx(); unsigned Code, Abbrev; // will unused. if (CaseRanges.isSingleNumber()) {