When storing the C++ overridden methods, store them once for the
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 9 Oct 2012 01:23:45 +0000 (01:23 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 9 Oct 2012 01:23:45 +0000 (01:23 +0000)
commitcc4ca0a32476fa6090d212210168f7b7bc34dd23
tree1b7c8beddcbb456058260a8fe2e1e9a2cf085caf
parentbb860bd2644a072b98423f7661c1e1ac10a7540c
When storing the C++ overridden methods, store them once for the
canonical method; avoid storing them again for an out-of-line definition.

llvm-svn: 165472
clang/lib/AST/ASTContext.cpp
clang/lib/Sema/SemaDecl.cpp
clang/test/Index/overrides.cpp