mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
[lldb] Use C++11 default member initializers
This converts a default constructor's member initializers into C++11 default member initializers. This patch was automatically generated with clang-tidy and the modernize-use-default-member-init check. $ run-clang-tidy.py -header-filter='lldb' -checks='-*,modernize-use-default-member-init' -fix This is a mass-refactoring patch and this commit will be added to .git-blame-ignore-revs. Differential revision: https://reviews.llvm.org/D103483
This commit is contained in:
1 parent
9b496c2373
commit
9494c510af
213 files changed
+859
-1068
No files matched your search
@@ -22,9 +22,7 @@
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
||||
SBFunction::SBFunction() : m_opaque_ptr(nullptr) {
|
||||
LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBFunction);
|
||||
}
|
||||
SBFunction::SBFunction() { LLDB_RECORD_CONSTRUCTOR_NO_ARGS(SBFunction); }
|
||||
|
||||
SBFunction::SBFunction(lldb_private::Function *lldb_object_ptr)
|
||||
: m_opaque_ptr(lldb_object_ptr) {}
|
||||
|
||||
Reference in new issue
Block a user