diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-15 12:49:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-15 12:49:13 +0000 |
commit | 90cc390c4955029dd56d125af5512e68efa0c2b2 (patch) | |
tree | 3bf3b81e51818ea75a6b6258ceae15fd9f2e14f0 /include/clang/AST | |
parent | 72fdc8947e54be1a8dd36b03e24f112aba1241e1 (diff) |
Remove hasExternalLinkageUncached.
It was being used correctly, but it is a very dangerous API to have around.
Instead, move the logic from the filtering to when we are deciding if we should
link two decls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST')
-rw-r--r-- | include/clang/AST/Decl.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index f0832dc7bf..4260ab0bb2 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -219,10 +219,6 @@ public: return getLinkage() == ExternalLinkage; } - /// \brief True if this decl has external linkage. Don't cache the linkage, - /// because we are not finished setting up the redecl chain for the decl. - bool hasExternalLinkageUncached() const; - /// \brief Determines the visibility of this entity. Visibility getVisibility() const { return getLinkageAndVisibility().getVisibility(); |