diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h index 48e9cec482755..00851dc2fb0d0 100644 --- a/clang/include/clang/Basic/TargetInfo.h +++ b/clang/include/clang/Basic/TargetInfo.h @@ -489,11 +489,11 @@ class TargetInfo : public TransferrableTargetInfo, /// Return the size of 'signed short' and 'unsigned short' for this /// target, in bits. - unsigned getShortWidth() const { return 16; } // FIXME + unsigned getShortWidth() const { return HalfWidth; } /// Return the alignment of 'signed short' and 'unsigned short' for /// this target. - unsigned getShortAlign() const { return 16; } // FIXME + unsigned getShortAlign() const { return HalfAlign; } /// getIntWidth/Align - Return the size of 'signed int' and 'unsigned int' for /// this target, in bits.