mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Updated VC++ build system.
Silenced some VC warnings. I'm getting linker errors, though: unresolved externals: llvm::Split<class llvm::BasicBlock *,struct llvm::GraphTraits<class llvm::BasicBlock *> >(class llvm::DominatorTreeBase<class llvm::BasicBlock> &,class llvm::BasicBlock *) and llvm::Split<struct llvm::Inverse<class llvm::BasicBlock *>,struct llvm::GraphTraits<struct llvm::Inverse<class llvm::BasicBlock *> > >(class llvm::DominatorTreeBase<class llvm::BasicBlock> &,class llvm::BasicBlock *) Where are these defined? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43073 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -263,7 +263,7 @@ public:
|
||||
return T->getTypeID() == StructTyID;
|
||||
}
|
||||
|
||||
bool isPacked() const { return getSubclassData(); }
|
||||
bool isPacked() const { return (0 != getSubclassData()) ? true : false; }
|
||||
};
|
||||
|
||||
|
||||
@@ -279,9 +279,12 @@ class SequentialType : public CompositeType {
|
||||
PATypeHandle ContainedType; ///< Storage for the single contained type
|
||||
SequentialType(const SequentialType &); // Do not implement!
|
||||
const SequentialType &operator=(const SequentialType &); // Do not implement!
|
||||
|
||||
// avoiding warning: 'this' : used in base member initializer list
|
||||
SequentialType* this_() { return this; }
|
||||
protected:
|
||||
SequentialType(TypeID TID, const Type *ElType)
|
||||
: CompositeType(TID), ContainedType(ElType, this) {
|
||||
: CompositeType(TID), ContainedType(ElType, this_()) {
|
||||
ContainedTys = &ContainedType;
|
||||
NumContainedTys = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user