mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
* Trim #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f3aaadf482
commit
871b1939b5
@ -13,8 +13,10 @@
|
||||
#ifndef LLVM_TARGET_TARGETDATA_H
|
||||
#define LLVM_TARGET_TARGETDATA_H
|
||||
|
||||
#include "llvm/Type.h"
|
||||
|
||||
#include "llvm/Annotation.h"
|
||||
#include <vector>
|
||||
class Value;
|
||||
class Type;
|
||||
class StructType;
|
||||
class StructLayout;
|
||||
|
||||
@ -64,7 +66,8 @@ public:
|
||||
const std::vector<Value*> &Indices) const;
|
||||
|
||||
inline const StructLayout *getStructLayout(const StructType *Ty) const {
|
||||
return (const StructLayout*)((const Type*)Ty)->getOrCreateAnnotation(AID);
|
||||
return (const StructLayout*)
|
||||
((const Annotable*)Ty)->getOrCreateAnnotation(AID);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user