[clang-tools-extra] [clang-doc] Clean up implementation with better casting (PR #202060)

Paul Kirth via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 6 18:12:19 PDT 2026


================
@@ -745,7 +751,9 @@ struct TypedefInfo : public SymbolInfo {
   TypedefInfo(SymbolID USR = SymbolID())
       : SymbolInfo(InfoType::IT_typedef, USR) {}
 
-  static bool classof(const Info *I) { return I->IT == InfoType::IT_typedef; }
----------------
ilovepi wrote:

done.

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


More information about the cfe-commits mailing list