Author: Raphael Isemann
Date: 2020-01-24T11:57:06+01:00
New Revision: c0738d2480b93b1c3b354a2be16ea5f6e545c5ef

URL: 
https://github.com/llvm/llvm-project/commit/c0738d2480b93b1c3b354a2be16ea5f6e545c5ef
DIFF: 
https://github.com/llvm/llvm-project/commit/c0738d2480b93b1c3b354a2be16ea5f6e545c5ef.diff

LOG: [lldb][NFC] Fix formatting in ASTImporterDelegate::ImportImpl

Added: 
    

Modified: 
    lldb/source/Symbol/ClangASTImporter.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Symbol/ClangASTImporter.cpp 
b/lldb/source/Symbol/ClangASTImporter.cpp
index 576a7d6f64b0..a8a6f02fdb1f 100644
--- a/lldb/source/Symbol/ClangASTImporter.cpp
+++ b/lldb/source/Symbol/ClangASTImporter.cpp
@@ -856,8 +856,8 @@ ClangASTImporter::ASTImporterDelegate::ImportImpl(Decl 
*From) {
   // into the same ASTContext where it came from (which doesn't make a lot of
   // sense).
   if (origin.Valid() && origin.ctx == &getToContext()) {
-      RegisterImportedDecl(From, origin.decl);
-      return origin.decl;
+    RegisterImportedDecl(From, origin.decl);
+    return origin.decl;
   }
 
   // This declaration came originally from another ASTContext. Instead of


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to