[Lldb-commits] [lldb] 8b40bdb - Reformat code for readability.
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 22 10:03:51 PST 2019
Author: Adrian Prantl
Date: 2019-11-22T10:03:25-08:00
New Revision: 8b40bdbd7edc4cbd6c906911be0329b0900e0486
URL: https://github.com/llvm/llvm-project/commit/8b40bdbd7edc4cbd6c906911be0329b0900e0486
DIFF: https://github.com/llvm/llvm-project/commit/8b40bdbd7edc4cbd6c906911be0329b0900e0486.diff
LOG: Reformat code for readability.
Added:
Modified:
lldb/source/Symbol/ClangASTContext.cpp
Removed:
################################################################################
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index d0f7c989ae10..244ac8ce5ff8 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -8459,7 +8459,8 @@ bool ClangASTContext::AddObjCClassProperty(
if (getter) {
if (metadata)
ClangASTContext::SetMetadata(clang_ast, getter, *metadata);
- getter->setMethodParams(*clang_ast,
+
+ getter->setMethodParams(*clang_ast,
llvm::ArrayRef<clang::ParmVarDecl *>(),
llvm::ArrayRef<clang::SourceLocation>());
class_interface_decl->addDecl(getter);
@@ -8495,7 +8496,6 @@ bool ClangASTContext::AddObjCClassProperty(
ClangASTContext::SetMetadata(clang_ast, setter, *metadata);
llvm::SmallVector<clang::ParmVarDecl *, 1> params;
-
params.push_back(clang::ParmVarDecl::Create(
*clang_ast, setter, clang::SourceLocation(), clang::SourceLocation(),
nullptr, // anonymous
More information about the lldb-commits
mailing list