]> granicus.if.org Git - clang/commit
When deciding how to parse "= something" as part of a member
authorDouglas Gregor <dgregor@apple.com>
Sat, 25 Jun 2011 00:56:27 +0000 (00:56 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 25 Jun 2011 00:56:27 +0000 (00:56 +0000)
commit555f57e3549fb5cc963a2ce38180c4f3643a6f95
treedb0165f2361a840dbb7a5c72f2e2fe9bc8635eee
parent831fb9622581fc3b777848e6b097a0cb23d124de
When deciding how to parse "= something" as part of a member
declaration, determine whether the declaration will end up declaring a
function using semantic criteria (e.g., it will have function type)
rather than purely syntactic criteria (e.g., it has the form of a
function declarator). Fixes <rdar://problem/9670557>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133854 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/DeclSpec.h
include/clang/Sema/LocInfoType.h [new file with mode: 0644]
include/clang/Sema/Sema.h
lib/Parse/ParseDeclCXX.cpp
lib/Sema/DeclSpec.cpp
test/SemaCXX/virtuals.cpp