HomePhabricator

Made GetClangTargetCPU() const.

Authored by labath on Mar 3 2017, 5:35 AM.

Description

Made GetClangTargetCPU() const.

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.

Reviewers: labath, eugene

Reviewed By: labath, eugene

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D30515
Author: Jason Majors <jmajors@google.com>

llvm-svn: 296868

Details

Committed
labathMar 3 2017, 5:35 AM
Reviewer
labath
Differential Revision
D30515: Made GetClangTargetCPU() const.
Parents
rG26e176e5589b: [clang-tidy] Fix modernize-use-emplace docs
Branches
Unknown
Tags
Unknown