[PATCH] D38816: Convert clang::LangAS to a strongly typed enum

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 12 08:18:31 PDT 2017


Anastasia added inline comments.


================
Comment at: lib/AST/TypePrinter.cpp:1323
     OS << "address_space(";
-    OS << T->getEquivalentType().getAddressSpace();
+    OS << T->getEquivalentType()
+              .getQualifiers()
----------------
Why do we need this change?


https://reviews.llvm.org/D38816





More information about the cfe-commits mailing list