[Lldb-commits] [lldb] r240676 - Add const qualifier to Mangled::GuessLanguage
Dawn Perchik
dawn at burble.org
Thu Jun 25 12:14:35 PDT 2015
Author: dperchik
Date: Thu Jun 25 14:14:34 2015
New Revision: 240676
URL: http://llvm.org/viewvc/llvm-project?rev=240676&view=rev
Log:
Add const qualifier to Mangled::GuessLanguage
Modified:
lldb/trunk/include/lldb/Core/Mangled.h
lldb/trunk/source/Core/Mangled.cpp
Modified: lldb/trunk/include/lldb/Core/Mangled.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/Mangled.h?rev=240676&r1=240675&r2=240676&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/Mangled.h (original)
+++ lldb/trunk/include/lldb/Core/Mangled.h Thu Jun 25 14:14:34 2015
@@ -314,7 +314,7 @@ public:
/// if there is no mangled or demangled counterpart.
//----------------------------------------------------------------------
lldb::LanguageType
- GuessLanguage ();
+ GuessLanguage () const;
private:
//----------------------------------------------------------------------
Modified: lldb/trunk/source/Core/Mangled.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Mangled.cpp?rev=240676&r1=240675&r2=240676&view=diff
==============================================================================
--- lldb/trunk/source/Core/Mangled.cpp (original)
+++ lldb/trunk/source/Core/Mangled.cpp Thu Jun 25 14:14:34 2015
@@ -423,7 +423,7 @@ Mangled::MemorySize () const
}
lldb::LanguageType
-Mangled::GuessLanguage ()
+Mangled::GuessLanguage () const
{
ConstString mangled = GetMangledName();
if (mangled)
More information about the lldb-commits
mailing list