Complain for typedefs inside functions.
git-svn-id: http://root.cern.ch/svn/root/trunk@47204 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
d94e4aae9c
commit
169edbd5a0
@ -410,6 +410,7 @@ namespace utils {
|
||||
prefix = CreateNestedNameSpecifier(Ctx,
|
||||
llvm::dyn_cast<NamespaceDecl>(outer));
|
||||
} else {
|
||||
assert(llvm::isa<TagDecl>(outer)&& "not in namespace of TagDecl");
|
||||
prefix = CreateNestedNameSpecifier(Ctx,
|
||||
llvm::dyn_cast<TagDecl>(outer));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user