[PATCH] D40302: Avoid copying the data of in-memory preambles

Benjamin Kramer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 23 06:13:31 PST 2017


bkramer added inline comments.


================
Comment at: include/clang/Frontend/PrecompiledPreamble.h:101
   /// is accessible.
+  /// For in-memory preambles, PrecompiledPreamble instance continues to owns
+  /// the MemoryBuffer with the Preamble after this method returns. The caller
----------------
continues to own


https://reviews.llvm.org/D40302





More information about the cfe-commits mailing list