[clang] [clang-repl] Fix assertion failure in CleanUpPTU() (PR #85378)

Stefan Gränitz via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 15 06:01:57 PDT 2024


================
@@ -205,7 +205,7 @@ class StoredDeclsList {
     Data.setPointer(Head);
   }
 
-  /// Return an array of all the decls that this list represents.
+  /// Return the list of all the decls.
----------------
weliveindetail wrote:

This is not an array (otherwise we could have done erase-remove)

https://github.com/llvm/llvm-project/pull/85378


More information about the cfe-commits mailing list