This is an archive of the discontinued LLVM Phabricator instance.

Fix some Wundef warnings in Compiler.h
ClosedPublic

Authored by svenvh on Aug 23 2018, 9:21 AM.

Details

Summary

Check for definedness of the __cpp_sized_deallocation and
__cpp_aligned_new feature test macros. These will not be defined
when the feature is not available, and that prevents any code that
includes this header from compiling with -Wundef -Werror.

Diff Detail

Repository
rL LLVM

Event Timeline

svenvh created this revision.Aug 23 2018, 9:21 AM
joey accepted this revision.Sep 4 2018, 3:54 AM
This revision is now accepted and ready to land.Sep 4 2018, 3:54 AM
This revision was automatically updated to reflect the committed changes.