[PATCH] D114251: [AST] Add a sugar type for types found via UsingDecl

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 19 11:34:53 PST 2021


sammccall added inline comments.


================
Comment at: clang/include/clang/AST/Type.h:4372
+class UsingType : public Type, public llvm::FoldingSetNode {
+  QualType UnderlyingTy;
+  NamedDecl *Found;
----------------
Hmm, maybe I should be getting this from Found, rather than storing it.
We'd have to do more work than e.g. TypedefType though, as we have to check the possible types of Found.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114251



More information about the cfe-commits mailing list