]> granicus.if.org Git - clang/commit
Only apply -fvisibility-inlines-hidden to definitions. Apparently
authorJohn McCall <rjmccall@apple.com>
Mon, 1 Nov 2010 01:29:57 +0000 (01:29 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 1 Nov 2010 01:29:57 +0000 (01:29 +0000)
commit66cbcf3f150d075fead7c5935b6e9c61a32cf3d4
tree7298de74af90ac11479966ac870003e6acece88b
parent6a3567442307864eac52bb84ce41465753513635
Only apply -fvisibility-inlines-hidden to definitions.  Apparently
isInlined() just gives meaningless results for non-definitions.

Fixes rdar://problem/8614470

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117887 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/CodeGenCXX/visibility-inlines-hidden.cpp