Author: Paul Kirth
Date: 2026-05-22T01:57:03Z
New Revision: dac33e3d006e9ca4c20b74b2b0d9baa126e728a7

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

LOG: [clang-doc][nfc] Declare pointer with auto explicitly (#198069)

This silences some errors from clang-tidy.

Added: 
    

Modified: 
    clang-tools-extra/clang-doc/Serialize.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-doc/Serialize.cpp 
b/clang-tools-extra/clang-doc/Serialize.cpp
index 26ce357674f14..9ab3de5d9b49f 100644
--- a/clang-tools-extra/clang-doc/Serialize.cpp
+++ b/clang-tools-extra/clang-doc/Serialize.cpp
@@ -1159,7 +1159,7 @@ std::pair<Info *, Info *> Serializer::emitInfo(const 
RecordDecl *D,
 
   // Records are inserted into the parent by reference, so we need to return
   // both the parent and the record itself.
-  auto Parent = makeAndInsertIntoParent<const RecordInfo &>(*RI);
+  auto *Parent = makeAndInsertIntoParent<const RecordInfo &>(*RI);
   return {std::move(RI), std::move(Parent)};
 }
 


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to