[clang-tools-extra] [clang-tidy] Fix support for typedefs in readability-identifier-naming (PR #66835)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 07:56:35 PDT 2023


================
@@ -729,3 +729,21 @@ struct forward_declared_as_struct;
 class forward_declared_as_struct {
 };
 
+namespace pr55156 {
+
+typedef enum {
+  VALUE0,
+  VALUE1,
+} ValueType;
----------------
HerrCai0907 wrote:

Could you also add some test cases for function typedef?

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


More information about the cfe-commits mailing list