[PATCH] D152632: [Clang] Add warnings for CWG2521

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 22 20:40:55 PDT 2023


shafik added inline comments.


================
Comment at: clang/include/clang/Basic/IdentifierTable.h:56
+  NotStartsWithUnderscore,
+  ContainsDoubleUnderscore,
+};
----------------
I would think starting with a double underscore would also not be allowed, at least that is my reading.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152632/new/

https://reviews.llvm.org/D152632



More information about the cfe-commits mailing list