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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D30515
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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 1 2017, 4:44 PM Closed by commit rL296868: Made GetClangTargetCPU() const. (authored by labath). · Explain WhyMar 3 2017, 5:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 90467 lldb/trunk/include/lldb/Core/ArchSpec.h
lldb/trunk/source/Core/ArchSpec.cpp
|