[PATCH] D89649: Fix __has_unique_object_representations with no_unique_address

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 19 08:11:42 PDT 2020


aaron.ballman added inline comments.


================
Comment at: clang/lib/AST/ASTContext.cpp:2608
+        continue;
+      else if (!Context.hasUniqueObjectRepresentations(Field->getType()))
+        return llvm::None;
----------------
You can drop the `else` after this sorta-return if you'd like.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89649



More information about the cfe-commits mailing list