This is an archive of the discontinued LLVM Phabricator instance.

[TextAPI] Prefix all architecture enums to fix the build on i386.
ClosedPublic

Authored by ributzka on Apr 3 2019, 5:24 PM.

Details

Summary

This changes the Architecture enum to use a prefix (AK_) to prevent the preprocessor from replacing i386 with 1 when building llvm/clang for i386.

Diff Detail

Repository
rL LLVM

Event Timeline

ributzka created this revision.Apr 3 2019, 5:24 PM
mstorsjo accepted this revision.Apr 3 2019, 11:14 PM

LGTM, thanks!

This revision is now accepted and ready to land.Apr 3 2019, 11:14 PM
This revision was automatically updated to reflect the committed changes.