Revert "Preprocessor: Add __ALIGNOF_MAX_ALIGN_T__"
This commit reverts r201037, it's functionality is not needed given the definition of std::max_align_t in libcxx circa r201843. llvm-svn: 202667
This commit is contained in:
@@ -602,9 +602,6 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
|
||||
DefineType("__CHAR16_TYPE__", TI.getChar16Type(), Builder);
|
||||
DefineType("__CHAR32_TYPE__", TI.getChar32Type(), Builder);
|
||||
|
||||
Builder.defineMacro("__ALIGNOF_MAX_ALIGN_T__",
|
||||
Twine(TI.getSuitableAlign() / TI.getCharWidth()));
|
||||
|
||||
DefineFloatMacros(Builder, "FLT", &TI.getFloatFormat(), "F");
|
||||
DefineFloatMacros(Builder, "DBL", &TI.getDoubleFormat(), "");
|
||||
DefineFloatMacros(Builder, "LDBL", &TI.getLongDoubleFormat(), "L");
|
||||
|
||||
Reference in New Issue
Block a user