Page MenuHomePhabricator

Made GetClangTargetCPU() const.
ClosedPublic

Authored by jmajors on Mar 1 2017, 4:25 PM.

Details

Summary

It does not change members or call non-const members.
HostInfo::GetArchitecture() returns a const object ref (maybe others?),
which can't access the non-const function.

Diff Detail

Repository
rL LLVM

Event Timeline

jmajors created this revision.Mar 1 2017, 4:25 PM
eugene accepted this revision.Mar 1 2017, 4:44 PM
This revision is now accepted and ready to land.Mar 1 2017, 4:44 PM
labath accepted this revision.Mar 2 2017, 1:48 AM
This revision was automatically updated to reflect the committed changes.