summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ItaniumMangle.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-28 21:37:54 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-28 21:37:54 +0000
commitc58fa9b7a40a78dd34845e36dd42163054a45b16 (patch)
tree71ff2c7fc3e2a48f937e8b81e72596a1b225f1c7 /clang/lib/AST/ItaniumMangle.cpp
parent9bc81fbe9240ed2288952896f9ac1f4afd6d19dc (diff)
downloadbcm5719-llvm-c58fa9b7a40a78dd34845e36dd42163054a45b16.tar.gz
bcm5719-llvm-c58fa9b7a40a78dd34845e36dd42163054a45b16.zip
Use std::map<K, V> rather than std::map<K, std::unique_ptr<V>>
Pointers and references to map elements are never invalidated (except on removal, which isn't used here) so there's no need for the indirection unless there's polymorphism at work. A little const correctness had to be fixed, since the indirection allowed some benign const violations. llvm-svn: 222937
Diffstat (limited to 'clang/lib/AST/ItaniumMangle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud