From: Timur Iskhodzhanov Date: Wed, 25 Jul 2012 08:16:41 +0000 (+0000) Subject: Add a FIXME to revisit the performance of BackRefMap later X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d93c5ff2b1a83f73c64ee6b8e4eff521865e92d2;p=clang Add a FIXME to revisit the performance of BackRefMap later git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160709 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp index f9245b8c32..467a45ef00 100644 --- a/lib/AST/MicrosoftMangle.cpp +++ b/lib/AST/MicrosoftMangle.cpp @@ -33,6 +33,8 @@ class MicrosoftCXXNameMangler { MangleContext &Context; raw_ostream &Out; + // FIXME: audit the performance of BackRefMap as it might do way too many + // copying of strings. typedef std::map BackRefMap; BackRefMap NameBackReferences; bool UseNameBackReferences;