bkramer added inline comments.

================
Comment at: lib/Format/BreakableToken.cpp:48
+  static const SmallVector<StringRef, 8> KnownTextProtoPrefixes{"//", "#"};
+  const SmallVectorImpl<StringRef> &KnownPrefixes =
+      (Style.Language == FormatStyle::LK_TextProto) ? KnownTextProtoPrefixes
----------------
These should stay arrays. You can use ArrayRef to get a convenient reference to 
them.


https://reviews.llvm.org/D39806



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

Reply via email to