]> granicus.if.org Git - clang/commit
Return true from UnifySection when emitting a diagnostic
authorEhsan Akhgari <ehsan.akhgari@gmail.com>
Mon, 22 Sep 2014 19:46:39 +0000 (19:46 +0000)
committerEhsan Akhgari <ehsan.akhgari@gmail.com>
Mon, 22 Sep 2014 19:46:39 +0000 (19:46 +0000)
commit29f20ee56ca16b27eb1a2f8568b59561aa5f0fc3
treef9d8610f34eec288d51dabb74144ef67e698a171
parent4dc3a30b0e3e99c3452425d11c258dee7fffca74
Return true from UnifySection when emitting a diagnostic

Test Plan: I noticed this through code inspection.  The callers use the return value to remove the SectionAttr if a diagnostic is emitted, but I don't think the failure to do so is observable right now.

Reviewers: rnk

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D5438

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