projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6341971
)
Add missing MD canonicalization to MS vtable builder
author
Reid Kleckner
<reid@kleckner.net>
Wed, 25 Feb 2015 02:16:02 +0000
(
02:16
+0000)
committer
Reid Kleckner
<reid@kleckner.net>
Wed, 25 Feb 2015 02:16:02 +0000
(
02:16
+0000)
llvm-svn: 230445
clang/lib/AST/VTableBuilder.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/VTableBuilder.cpp
b/clang/lib/AST/VTableBuilder.cpp
index
ddb1f05
..
8632ff8
100644
(file)
--- a/
clang/lib/AST/VTableBuilder.cpp
+++ b/
clang/lib/AST/VTableBuilder.cpp
@@
-2930,6
+2930,7
@@
static void GroupNewVirtualOverloads(
typedef llvm::DenseMap<DeclarationName, unsigned> VisitedGroupIndicesTy;
VisitedGroupIndicesTy VisitedGroupIndices;
for (const auto *MD : RD->methods()) {
+ MD = MD->getCanonicalDecl();
VisitedGroupIndicesTy::iterator J;
bool Inserted;
std::tie(J, Inserted) = VisitedGroupIndices.insert(