Refactor the representation of qualifiers to bring ExtQualType out of the
Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705
This commit is contained in:
@@ -496,6 +496,12 @@ public:
|
||||
// Helpers
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
Qualifiers MakeQualifiers(QualType T) {
|
||||
Qualifiers Quals = T.getQualifiers();
|
||||
Quals.setObjCGCAttr(getContext().getObjCGCAttrKind(T));
|
||||
return Quals;
|
||||
}
|
||||
|
||||
/// CreateTempAlloca - This creates a alloca and inserts it into the entry
|
||||
/// block.
|
||||
llvm::AllocaInst *CreateTempAlloca(const llvm::Type *Ty,
|
||||
|
||||
Reference in New Issue
Block a user