[all-commits] [llvm/llvm-project] 101cf5: [lldb] Move definition of SBSaveCoreOptions dtor o...
Alex Langford via All-commits
all-commits at lists.llvm.org
Fri Aug 9 12:51:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 101cf540e698529d3dd899d00111bcb654a3c12b
https://github.com/llvm/llvm-project/commit/101cf540e698529d3dd899d00111bcb654a3c12b
Author: Alex Langford <alangford at apple.com>
Date: 2024-08-09 (Fri, 09 Aug 2024)
Changed paths:
M lldb/include/lldb/API/SBSaveCoreOptions.h
M lldb/source/API/SBSaveCoreOptions.cpp
Log Message:
-----------
[lldb] Move definition of SBSaveCoreOptions dtor out of header (#102539)
This class is technically not usable in its current state. When you use
it in a simple C++ project, your compiler will complain about an
incomplete definition of SaveCoreOptions. Normally this isn't a problem,
other classes in the SBAPI do this. The difference is that
SBSaveCoreOptions has a default destructor in the header, so the
compiler will attempt to generate the code for the destructor with an
incomplete definition of the impl type.
All methods for every class, including constructors and destructors,
must have a separate implementation not in a header.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list