]> granicus.if.org Git - clang/commit
Fixing MSVC warning: "warning C4373: 'blah': virtual function overrides 'blah', previ...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 22 Aug 2014 13:26:37 +0000 (13:26 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 22 Aug 2014 13:26:37 +0000 (13:26 +0000)
commit53c7267c0c8a85fc7039daf1d0eef44f2e46ce79
treea7352b255ee61d2ea744e382798ebcd1adc96b7b
parentdfc0ac7f3dc3f309bdc48135622d02d9c2efbd56
Fixing MSVC warning: "warning C4373: 'blah': virtual function overrides 'blah', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers."

This warning is basically useless because the "previous versions" being referred to is MSVC 2005 and earlier, and we obviously do not care about them. However, this warning isn't particularly chatty (I don't recall ever seeing it previously), and it has the opportunity to point out cases where the cv-qualifiers differ unintentionally (like this case), so I am leaving it enabled for now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216267 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Targets.cpp