]> granicus.if.org Git - clang/commit
Fix isOverride() for the case of a dependent typed base class.
authorSamuel Benzaquen <sbenza@google.com>
Fri, 6 Mar 2015 16:24:47 +0000 (16:24 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Fri, 6 Mar 2015 16:24:47 +0000 (16:24 +0000)
commit7aed51eb5771c2ba9004d4c099cd1c17ed401ab1
tree9e912e81eda7524b224fa853cdc9b5dc175e6609
parent5f500baea18887d19d373a9bdbb91e0bb675f7bd
Fix isOverride() for the case of a dependent typed base class.

The method decl is not marked as overriding any other method decls
until the template is instantiated.
Use the override attribute as another signal.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231487 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchers.h
unittests/ASTMatchers/ASTMatchersTest.cpp