]> granicus.if.org Git - clang/commit
Hopefully avoid a warning on some GCCs (but not all strangely,
authorChandler Carruth <chandlerc@gmail.com>
Wed, 16 Apr 2014 11:04:33 +0000 (11:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 16 Apr 2014 11:04:33 +0000 (11:04 +0000)
commite61dbdd6fa6b85b524194e5112bcaffb8ad0190b
treefb2e87e7d4b2b1b1ebfb4c46851223bcaf15fe1c
parent9bc41929d62509b1edbb6e2fbf19516a9aeb8f31
Hopefully avoid a warning on some GCCs (but not all strangely,
preventing me from seeing it initially). GCC doesn't use the unused
attribute on members for anything, so while it works to suppress Clang's
warning for an unused private member, it adds a GCC warning for the
attribute. =/ Silence Clang's warning with a void cast in the
constructor instead which doesn't trigger any complaints from GCC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206373 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h