diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-27 02:15:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-27 02:15:29 +0000 |
commit | 2beda12c3fbaa9125831b7f818680978c596b205 (patch) | |
tree | 1cd26fad4c608c10a3babe3ca5f041cc8f8d3410 /lib/AST/Decl.cpp | |
parent | da8910519b8dc79826781e74aaafddbd5c4ba19c (diff) |
Move LinkageInfo out of NamedDecl so that it can be used in Type.h.
Everything that cares about visibility also cares about linkage, so I just
moved it to Visibility.h instead of creating a new .h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index d363986745..e4688f09a3 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -138,8 +138,6 @@ static Optional<Visibility> getExplicitVisibility(const NamedDecl *D, return D->getExplicitVisibility((NamedDecl::ExplicitVisibilityKind) kind); } -typedef NamedDecl::LinkageInfo LinkageInfo; - /// Is the given declaration a "type" or a "value" for the purposes of /// visibility computation? static bool usesTypeVisibility(const NamedDecl *D) { |