dexonsmith requested changes to this revision.
dexonsmith added a comment.
This revision now requires changes to proceed.

> This patch replaces StringMap<...> with std::map<std::string, ...> in 
> AnalyzerOptions::ConfigTable. It seems to be the only non-owning reference to 
> command line arguments in the whole CompilerInvocation, which would introduce 
> a lot of complexity with round-tripping arguments (D94472 
> <https://reviews.llvm.org/D94472>).

I think this patch can be skipped. `StringMap` owns its own strings. 
`StringMapEntry` uses tail allocation to include a null-terminated string 
inline. For details, have a look at `StringMapEntry::Create` in 
llvm/ADT/StringMapEntry.h.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95629

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D95629: [c... Jan Svoboda via Phabricator via cfe-commits
    • [PATCH] D9562... Duncan P. N. Exon Smith via Phabricator via cfe-commits
    • [PATCH] D9562... Jan Svoboda via Phabricator via cfe-commits

Reply via email to