[PATCH] D66151: [clang-doc] Fix bitcode writer

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 13 15:26:16 PDT 2019


juliehockett accepted this revision.
juliehockett added a comment.
This revision is now accepted and ready to land.

One comment then LGTM



================
Comment at: clang-tools-extra/clang-doc/Serialize.cpp:507
       Reference{ParentUSR, Parent->getNameAsString(), InfoType::IT_record};
-  Func.Access = D->getAccess();
+  Func.Access = D->getAccessUnsafe();
 
----------------
In a C++ method, it should have an access associated with it, and so AS_none isn't a valid value.


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

https://reviews.llvm.org/D66151





More information about the cfe-commits mailing list