]> granicus.if.org Git - clang/commit
Fix this bug:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 15 Oct 2008 20:23:22 +0000 (20:23 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 15 Oct 2008 20:23:22 +0000 (20:23 +0000)
commitd6caa9ef4cc68290b0bf33432934cc11dd5594e6
treea277feee4e860689e91bd6e6819fc20d781907f8
parent5955bfa873e5b23d1aac8f964947522a6304b3f4
Fix this bug:

typedef int f();
struct S {
   f *x; // incorrectly assuming this is function decl, leading to failed assertions.
};

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57598 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/class.cpp