[clang] [RFC] Initial implementation of P2719 (PR #113510)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 14:22:06 PST 2024


================
@@ -4749,6 +4753,15 @@ class Sema final : public SemaBase {
 
   CXXRecordDecl *getStdBadAlloc() const;
   EnumDecl *getStdAlignValT() const;
+  ClassTemplateDecl *getStdTypeIdentity() const;
+  std::optional<QualType> InstantiateSpecializedTypeIdentity(QualType Subject);
----------------
erichkeane wrote:

IIRC, our coding standard says camel case:
```
Function names should be verb phrases (as they represent actions), and command-like function should be imperative. The name should be camel case, and start with a lower case letter (e.g. openFile() or isFoo()).```

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


More information about the cfe-commits mailing list