Replace incorrect usage of isInvalidDecl with intended setInvalidDecl
authorErich Keane <erich.keane@intel.com>
Wed, 21 Feb 2018 20:29:05 +0000 (20:29 +0000)
committerErich Keane <erich.keane@intel.com>
Wed, 21 Feb 2018 20:29:05 +0000 (20:29 +0000)
commitaa782f374e6c31cd36ca38c5532a572355ee3aab
treec8e5060a23b095df8c524faf2ea8f176b7c92b54
parent9a2bf413a01958766d445687767699362c84b2c9
Replace incorrect usage of isInvalidDecl with intended setInvalidDecl

This typo would cause an attempt to multiversion 'main' to issue an
error, but not mark the function as invalid.  This patch fixes it.

llvm-svn: 325716
clang/lib/Sema/SemaDecl.cpp