]> granicus.if.org Git - clang/commit
Mark a function declaration invalid if any of its parameter declarations
authorJohn McCall <rjmccall@apple.com>
Wed, 14 Apr 2010 01:27:20 +0000 (01:27 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 14 Apr 2010 01:27:20 +0000 (01:27 +0000)
commitf19de1ce44b9c7ffdeb388d6fe2fa8a1d0288f64
tree3b5083df4ac2275780029508c66cf72106fb2a70
parent74256f5ea6950c9fd34595aa124eb4740372f15c
Mark a function declaration invalid if any of its parameter declarations
are invalid.  Prevents a crash-on-invalid during template instantiation.
I... really don't understand how this wasn't already present.

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