summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2012-07-25 08:16:41 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2012-07-25 08:16:41 +0000
commitff7ff3f30b4442e26e8f43970107dd5a8066d3ab (patch)
tree314272e456a9c291704aeab09e96da2dc8826a9b /clang/lib/AST/MicrosoftMangle.cpp
parent587bcca66d86e8379b8d08a61b96c39ce347afa2 (diff)
downloadbcm5719-llvm-ff7ff3f30b4442e26e8f43970107dd5a8066d3ab.tar.gz
bcm5719-llvm-ff7ff3f30b4442e26e8f43970107dd5a8066d3ab.zip
Add a FIXME to revisit the performance of BackRefMap later
llvm-svn: 160709
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index f9245b8c328..467a45ef00c 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/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<std::string, unsigned> BackRefMap;
BackRefMap NameBackReferences;
bool UseNameBackReferences;
OpenPOWER on IntegriCloud