diff options
author | Vince Harron <vince@nethacker.com> | 2015-05-13 00:25:54 +0000 |
---|---|---|
committer | Vince Harron <vince@nethacker.com> | 2015-05-13 00:25:54 +0000 |
commit | d7e6a4f2f07464acfe4fe98b4e4038c67c7b2975 (patch) | |
tree | 329d2a720739a7140401e3842b751aa7f0651c93 /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 9bbc3653c5ccb170167b2ab3c4ec098be83a3d04 (diff) | |
download | llvm-d7e6a4f2f07464acfe4fe98b4e4038c67c7b2975.zip llvm-d7e6a4f2f07464acfe4fe98b4e4038c67c7b2975.tar.gz llvm-d7e6a4f2f07464acfe4fe98b4e4038c67c7b2975.tar.bz2 |
Fixed a ton of gcc compile warnings
Removed some unused variables, added some consts, changed some casts
to const_cast. I don't think any of these changes are very
controversial.
Differential Revision: http://reviews.llvm.org/D9674
llvm-svn: 237218
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index 23da6e2..25029a6 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -534,7 +534,7 @@ protected: clang::TypeDecl *tdecl = target->GetPersistentVariables().GetPersistentType(ConstString(lookup_type_name)); if (tdecl) { - clang_ast_type.SetClangType(&tdecl->getASTContext(),(lldb::clang_type_t)tdecl->getTypeForDecl()); + clang_ast_type.SetClangType(&tdecl->getASTContext(),(const lldb::clang_type_t)tdecl->getTypeForDecl()); } } |