[PATCH] D45463: [AST] Print correct tag decl for tag specifier

Joel E. Denny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 11 10:35:48 PDT 2018


jdenny added inline comments.


================
Comment at: lib/AST/DeclPrinter.cpp:218
     for (auto *A : Attrs) {
+      if (A->isInherited())
+        continue;
----------------
I implemented inherited attribute suppression in this function with the expectation that the test suite would reveal a use case where that's wrong.  However, the test suite behaved.  If you know of a use case, please let me know.


https://reviews.llvm.org/D45463





More information about the cfe-commits mailing list