[clang-tools-extra] [clang-doc] fix flaky test in clang-doc (PR #101387)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 1 13:05:34 PDT 2024


================
@@ -270,10 +273,12 @@ struct Info {
 
   virtual ~Info() = default;
 
+  Info &operator=(Info &&Other) = default;
+
   SymbolID USR =
       SymbolID(); // Unique identifier for the decl described by this Info.
-  const InfoType IT = InfoType::IT_default; // InfoType of this particular Info.
----------------
ilovepi wrote:

Why drop `const`?

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


More information about the cfe-commits mailing list