]> granicus.if.org Git - clang/commit
Sema: RecordDecl shouldn't have a FunctionDecl as a Decl
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 9 Jan 2015 07:36:13 +0000 (07:36 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 9 Jan 2015 07:36:13 +0000 (07:36 +0000)
commita2f75da3f0d6d316bd8a494045044b10fc982bc2
tree83dfde1d617e26443875a467c9d5678a1032c760
parentea6cc726d11365a23ac85d1c3d5884809895843e
Sema: RecordDecl shouldn't have a FunctionDecl as a Decl

RecordDecls should have things like CXXMethodDecls or FriendDecls as a
decl but not things like FunctionDecls.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225511 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaTemplate/instantiate-method.cpp