aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-07-01 00:06:27 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2017-07-01 00:06:27 +0000
commit057c82cf25a0c8bd4150eb715310b1d74a538aac (patch)
tree34cd387011d23fc2b37f27f53b6435a3866412f2 /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
parentad923425ac3e79e4b9722fcd9df3141b597314b7 (diff)
downloadllvm-057c82cf25a0c8bd4150eb715310b1d74a538aac.zip
llvm-057c82cf25a0c8bd4150eb715310b1d74a538aac.tar.gz
llvm-057c82cf25a0c8bd4150eb715310b1d74a538aac.tar.bz2
Change enumerator default linkage type for C
Redeclaration lookup should never find hidden enumerators in C, because they do not have linkage (C11 6.2.2/6) The linkage of an enumerator should be VisibleNoLinkage, and isHiddenDeclarationVisible should be checking hasExternalFormalLinkage. This is was reviewed as part of D31778, but splitted into a different commit for clarity. rdar://problem/31909368 llvm-svn: 306917
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions