[PATCH] D122029: Change __auto_type behavior with qualifiers to match GCC behavior

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 21 06:49:49 PDT 2022


erichkeane added inline comments.


================
Comment at: clang/lib/AST/ASTContext.cpp:10294
+    }
+    if (const auto *AT = LHS->getAs<AutoType>()) {
+      if (AT->isGNUAutoType())
----------------
xbolva00 wrote:
> Same?
Oooh, good catch!  Looks like it should be RHS->getAs


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

https://reviews.llvm.org/D122029



More information about the cfe-commits mailing list