[PATCH] D41178: [clangd] Construct SymbolSlab from YAML format.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 14 02:39:04 PST 2017


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clangd/index/Index.h:17
 #include "llvm/ADT/StringExtras.h"
+#include "llvm/Support/YAMLTraits.h"
 
----------------
This isn't needed anymore (if you remove the friend below)


================
Comment at: clangd/index/Index.h:57
   }
+  friend struct llvm::yaml::MappingTraits<class SymbolID>;
+  friend llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
----------------
I think this no longer needs to be a friend.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D41178





More information about the cfe-commits mailing list