[Lldb-commits] [lldb] r129289 - in /lldb/trunk/include/lldb/Expression: ClangExpressionDeclMap.h ClangExpressionVariable.h
Stephen Wilson
wilsons at start.ca
Mon Apr 11 12:38:03 PDT 2011
Author: wilsons
Date: Mon Apr 11 14:38:03 2011
New Revision: 129289
URL: http://llvm.org/viewvc/llvm-project?rev=129289&view=rev
Log:
Fix struct vs. class warning.
ParserVars is declared using the class keyword. This solves the warning.
Modified:
lldb/trunk/include/lldb/Expression/ClangExpressionDeclMap.h
lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h
Modified: lldb/trunk/include/lldb/Expression/ClangExpressionDeclMap.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/ClangExpressionDeclMap.h?rev=129289&r1=129288&r2=129289&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Expression/ClangExpressionDeclMap.h (original)
+++ lldb/trunk/include/lldb/Expression/ClangExpressionDeclMap.h Mon Apr 11 14:38:03 2011
@@ -509,7 +509,7 @@
EnableParserVars()
{
if (!m_parser_vars.get())
- m_parser_vars.reset(new struct ParserVars);
+ m_parser_vars.reset(new ParserVars);
}
//----------------------------------------------------------------------
Modified: lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h?rev=129289&r1=129288&r2=129289&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h (original)
+++ lldb/trunk/include/lldb/Expression/ClangExpressionVariable.h Mon Apr 11 14:38:03 2011
@@ -117,7 +117,7 @@
EnableParserVars()
{
if (!m_parser_vars.get())
- m_parser_vars.reset(new struct ParserVars);
+ m_parser_vars.reset(new ParserVars);
}
//----------------------------------------------------------------------
More information about the lldb-commits
mailing list