]> granicus.if.org Git - clang/commitdiff
Add a FIXME to revisit the performance of BackRefMap later
authorTimur Iskhodzhanov <timurrrr@google.com>
Wed, 25 Jul 2012 08:16:41 +0000 (08:16 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Wed, 25 Jul 2012 08:16:41 +0000 (08:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160709 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/MicrosoftMangle.cpp

index f9245b8c3285bca1a848b9ec9483019564fcdce9..467a45ef00c0efafd08dee474ede7538da2ebf42 100644 (file)
@@ -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<std::string, unsigned> BackRefMap;
   BackRefMap NameBackReferences;
   bool UseNameBackReferences;