shafik marked an inline comment as done.
shafik added inline comments.

================
Comment at: clang/lib/AST/TypePrinter.cpp:1308
+    } else if ((isa<RecordDecl>(D) && 
cast<RecordDecl>(D)->isAnonymousStructOrUnion()) ||
+        isa<EnumDecl>(D)) {
       OS << "anonymous";
----------------
aaron.ballman wrote:
> I think `EnumDecl` should probably be `unnamed` rather than `anonymous` 
> because there's no term of art for an anonymous enumeration (there's only 
> anonymous structures and anonymous unions). WDYT?
I thought I saw that wording but when I looked back I realize you are correct.


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

https://reviews.llvm.org/D96807

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to