]> granicus.if.org Git - clang/commit
Fix ASTContext::typesAreCompatible when analyzing a function type with
authorChris Lattner <sabre@nondot.org>
Mon, 14 Jan 2008 05:45:46 +0000 (05:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Jan 2008 05:45:46 +0000 (05:45 +0000)
commit1adb88370beab45af2f065afe86b51ccd59ec50d
treecfab095fa4219ce348541935c64597a01b97625c
parentaaffbf7c790a324ed114184db771aae2d2e9151c
Fix ASTContext::typesAreCompatible when analyzing a function type with
proto and function type without proto.  It would never call
'functionTypesAreCompatible' because they have different type classes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45952 91177308-0d34-0410-b5e6-96231b3b80d8
AST/ASTContext.cpp
test/Sema/function.c