]> granicus.if.org Git - clang/commit
Check a pointer is not null before attempting to use it. This prevents a
authorRichard Trieu <rtrieu@google.com>
Thu, 16 May 2013 02:14:08 +0000 (02:14 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 16 May 2013 02:14:08 +0000 (02:14 +0000)
commit62ab010d5acb3752475bf0caf918406c470f7063
tree61e944506e35df5c7a4387fe936bab93ecc03c34
parentee2f8f2f7c4eacfa305a29fcd916d63c650ca847
Check a pointer is not null before attempting to use it.  This prevents a
crash on an explicit specialization of a member function in a class scope.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181971 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaTemplate/function-template-specialization.cpp