aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/TargetInfo.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-07-26 07:03:04 +0000
committerChad Rosier <mcrosier@apple.com>2011-07-26 07:03:04 +0000
commit9f1210c3280104417a4ad30f0a00825ac8fa718a (patch)
tree83f234ecc9559fa8695ae5664c56e3dc59e6614b /include/clang/Basic/TargetInfo.h
parent108f756bebd991eaa980cfb9994353612a2e5ff6 (diff)
After further discussion it has been determined that alignof should report
the preferred alignment. Thus, revert r135934, r135935, and r135940. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/TargetInfo.h')
-rw-r--r--include/clang/Basic/TargetInfo.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h
index a8d12ce446..e09098ea05 100644
--- a/include/clang/Basic/TargetInfo.h
+++ b/include/clang/Basic/TargetInfo.h
@@ -88,7 +88,6 @@ protected:
unsigned HasAlignMac68kSupport : 1;
unsigned RealTypeUsesObjCFPRet : 3;
- unsigned UsePreferredTypeAlign : 1;
// TargetInfo Constructor. Default initializes all fields.
TargetInfo(const std::string &T);
@@ -273,12 +272,6 @@ public:
return HasAlignMac68kSupport;
}
- /// usePreferredTypeAlign - Check whether this target uses minimum alignment
- /// defined by ABI or some other preferred alignment.
- bool usePreferredTypeAlign() const {
- return UsePreferredTypeAlign;
- }
-
/// getTypeName - Return the user string for the specified integer type enum.
/// For example, SignedShort -> "short".
static const char *getTypeName(IntType T);