mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 17:21:10 +00:00
Unresolved lookups can have using declarations that refer to
unresolved using declarations. Fixes PR14768 / <rdar://problem/13030296>. llvm-svn: 173883
This commit is contained in:
parent
1bd90ff6cc
commit
29d18a8b93
@ -625,7 +625,7 @@ private:
|
||||
|
||||
bool sanityCheckUnresolved() const {
|
||||
for (iterator I = begin(), E = end(); I != E; ++I)
|
||||
if (isa<UnresolvedUsingValueDecl>(*I))
|
||||
if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl()))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
@ -33,3 +33,12 @@ namespace test1 {
|
||||
}
|
||||
}
|
||||
|
||||
// PR 14768
|
||||
namespace PR14768 {
|
||||
template<typename eT> class Mat;
|
||||
template<typename eT> class Col : public Mat<eT> {
|
||||
using Mat<eT>::operator();
|
||||
using Col<eT>::operator();
|
||||
void operator() ();
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user