This is an archive of the discontinued LLVM Phabricator instance.

[Expressions] Fix -Wreorder warning from r353149
ClosedPublic

Authored by krasimir on Feb 5 2019, 3:23 AM.

Details

Summary
ClangExpressionDeclMap.cpp:72:60: error: field 'm_struct_vars' will be initialized after field 'm_ctx_obj' [-Werror,-Wreorder]
      m_result_delegate(result_delegate), m_parser_vars(), m_struct_vars(),

Diff Detail

Repository
rLLDB LLDB

Event Timeline

krasimir created this revision.Feb 5 2019, 3:23 AM
aleksandr.urakov accepted this revision.Feb 5 2019, 3:32 AM
aleksandr.urakov added a subscriber: aleksandr.urakov.

Oh, sorry for this, there was even no warning about that on my system. Thanks for catching that!

This revision is now accepted and ready to land.Feb 5 2019, 3:32 AM

No worries. Thanks for the quick response!

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2019, 3:36 AM