]> granicus.if.org Git - clang/commit
[NFC] In Multiversion Check function, switch to return Diag
authorErich Keane <erich.keane@intel.com>
Tue, 20 Feb 2018 22:25:28 +0000 (22:25 +0000)
committerErich Keane <erich.keane@intel.com>
Tue, 20 Feb 2018 22:25:28 +0000 (22:25 +0000)
commitdbbb8b786018cdb073117f9d6575bdb13167afae
tree85d3b466aa42ee097f00828d435e56a48a5b0d6d
parent60511a005ef5829b53b2ceebfe1972d2aae7d2aa
[NFC] In Multiversion Check function, switch to return Diag

This function did a lot of 'Diag, return true' stuff.  This resulted in needing
to introduce scopes in quite a few places.  This patch replaces useages of a
single "S.Diag" followed by return true with simply "return S.Diag".

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