[PATCH] D134286: [C2x] implement typeof and typeof_unqual

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 09:15:31 PDT 2022


aaron.ballman added inline comments.


================
Comment at: clang/include/clang/AST/Type.h:4564
+  /// Returns true if this is a typeof_unqual type.
+  bool isUnqual() const { return TypeOfBits.IsUnqual; }
+
----------------
mizvekov wrote:
> I only noticed this after rebasing some of my patches, I missed this on the original review (same for TypeOfType)
Sure, on the whole I think this makes the code cleaner. I've updated in 42ad305bdbb87d567d4d365ec5ede8be4d2a4210, thank you for the suggestion!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134286



More information about the cfe-commits mailing list