]> granicus.if.org Git - clang/commit
Move the point in the code where we handle -fvisibility=hidden. With
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Apr 2012 02:55:01 +0000 (02:55 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Apr 2012 02:55:01 +0000 (02:55 +0000)
commitff2579816bd9318fbda49d8bf9af301ff00371a7
tree4d605a8c6281239f0175694f97deb28de9f09506
parent5727cf50bfb8dda767585acb75f26ccfc7f61a4f
Move the point in the code where we handle -fvisibility=hidden. With
the current implementation this should be a nop as explicit visibility
takes precedence in mergeVisibility.

The location chosen is such that attributes checked above it can force
a symbol to be default. For example, an attribute is the variable or function.
Attributes checked after this point, can only make the visibility more
restrictive. An attribute in a type for example.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155098 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp