[Lldb-commits] [PATCH 1/3] struct ParserVars warning fix.
Marco Minutoli
mminutoli at gmail.com
Mon Apr 11 01:38:20 PDT 2011
ParserVars is declared using the class keyword. This solve the
warning.
---
include/lldb/Expression/ClangExpressionDeclMap.h | 2 +-
include/lldb/Expression/ClangExpressionVariable.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/lldb/Expression/ClangExpressionDeclMap.h b/include/lldb/Expression/ClangExpressionDeclMap.h
index b0a08f7..ebae71d 100644
--- a/include/lldb/Expression/ClangExpressionDeclMap.h
+++ b/include/lldb/Expression/ClangExpressionDeclMap.h
@@ -509,7 +509,7 @@ private:
EnableParserVars()
{
if (!m_parser_vars.get())
- m_parser_vars.reset(new struct ParserVars);
+ m_parser_vars.reset(new ParserVars);
}
//----------------------------------------------------------------------
diff --git a/include/lldb/Expression/ClangExpressionVariable.h b/include/lldb/Expression/ClangExpressionVariable.h
index dc6b7f8..a1a9deb 100644
--- a/include/lldb/Expression/ClangExpressionVariable.h
+++ b/include/lldb/Expression/ClangExpressionVariable.h
@@ -117,7 +117,7 @@ public:
EnableParserVars()
{
if (!m_parser_vars.get())
- m_parser_vars.reset(new struct ParserVars);
+ m_parser_vars.reset(new ParserVars);
}
//----------------------------------------------------------------------
--
1.7.1
More information about the lldb-commits
mailing list