Skip to content
Snippets Groups Projects
Commit 2788fbda authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[cleanup] proper initialization of all fields in declaration order

parent 0ef39435
No related branches found
No related tags found
No related merge requests found
...@@ -185,18 +185,28 @@ public: ...@@ -185,18 +185,28 @@ public:
Clang_utils* clang_utils, const RTTITable& rttiTable Clang_utils* clang_utils, const RTTITable& rttiTable
) )
: :
_localStackHeight(0), _errorMessages(NULL),
_countErrors(0), _clangContext(clangContext), _clangAST(clangAST),
_clangSema(clangSema), _clangScope(clangScope),
_annotContext(Unspecified),
_lexer(clangSema), _lexer(clangSema),
_tokenLocation(NULL),
_clangLocation(),
_localStackHeight(0),
_errorMessages(NULL),
_countErrors(0),
_doesStopOnError(clang_utils->stopOnAnnotError()),
_clangContext(clangContext),
_clangAST(clangAST),
_clangSema(clangSema),
_clangScope(clangScope),
_clang_utils(clang_utils), _clang_utils(clang_utils),
_rttiTable(rttiTable), _rttiTable(rttiTable),
_currentLogicScope(clang_utils->queryDeclLogicScope(clangContext)), _currentLogicScope(clang_utils->queryDeclLogicScope(clangContext)),
_result_context(false), _isVerbose(false) _localBinding(),
{ _doesStopOnError = clang_utils->stopOnAnnotError(); _logicFormals(),
_isVerbose = clang_utils->isVerbose(); _logicLabels(),
} _annotContext(Unspecified),
_result_context(false),
_isVerbose(clang_utils->isVerbose())
{ }
~Arguments() ~Arguments()
{ std::map<std::string, std::list<logic_var_def> >::iterator { std::map<std::string, std::list<logic_var_def> >::iterator
iterEnd = _localBinding.end(); iterEnd = _localBinding.end();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment