[Lldb-commits] [PATCH] D30515: Made GetClangTargetCPU() const.
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 3 05:47:44 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL296868: Made GetClangTargetCPU() const. (authored by labath).
Changed prior to commit:
https://reviews.llvm.org/D30515?vs=90255&id=90467#toc
Repository:
rL LLVM
https://reviews.llvm.org/D30515
Files:
lldb/trunk/include/lldb/Core/ArchSpec.h
lldb/trunk/source/Core/ArchSpec.cpp
Index: lldb/trunk/source/Core/ArchSpec.cpp
===================================================================
--- lldb/trunk/source/Core/ArchSpec.cpp
+++ lldb/trunk/source/Core/ArchSpec.cpp
@@ -657,7 +657,7 @@
SetFlags(flag);
}
-std::string ArchSpec::GetClangTargetCPU() {
+std::string ArchSpec::GetClangTargetCPU() const {
std::string cpu;
const llvm::Triple::ArchType machine = GetMachine();
Index: lldb/trunk/include/lldb/Core/ArchSpec.h
===================================================================
--- lldb/trunk/include/lldb/Core/ArchSpec.h
+++ lldb/trunk/include/lldb/Core/ArchSpec.h
@@ -307,7 +307,7 @@
/// @return A string representing target CPU for the current
/// architecture.
//------------------------------------------------------------------
- std::string GetClangTargetCPU();
+ std::string GetClangTargetCPU() const;
//------------------------------------------------------------------
/// Return a string representing target application ABI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30515.90467.patch
Type: text/x-patch
Size: 1009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170303/f3d00821/attachment.bin>
More information about the lldb-commits
mailing list