[PATCH] D50945: [Lex] Make HeaderMaps a unique_ptr vector

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 18 22:59:12 PDT 2018


MaskRay created this revision.
MaskRay added reviewers: Eugene.Zelenko, dblaikie.
Herald added a subscriber: cfe-commits.

unique_ptr makes the ownership clearer than a raw pointer container.


Repository:
  rC Clang

https://reviews.llvm.org/D50945

Files:
  include/clang/Lex/HeaderMap.h
  include/clang/Lex/HeaderSearch.h
  lib/Lex/HeaderMap.cpp
  lib/Lex/HeaderSearch.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50945.161391.patch
Type: text/x-patch
Size: 4494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180819/d91dfabc/attachment.bin>


More information about the cfe-commits mailing list