[cfe-commits] r154827 - /cfe/trunk/include/clang/AST/Decl.h

Rafael Espindola rafael.espindola at gmail.com
Mon Apr 16 09:41:02 PDT 2012


Author: rafael
Date: Mon Apr 16 11:41:02 2012
New Revision: 154827

URL: http://llvm.org/viewvc/llvm-project?rev=154827&view=rev
Log:
Remove unused method.

Modified:
    cfe/trunk/include/clang/AST/Decl.h

Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=154827&r1=154826&r2=154827&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Mon Apr 16 11:41:02 2012
@@ -244,9 +244,6 @@
     void setLinkage(Linkage L) { linkage_ = L; }
     void setVisibility(Visibility V) { visibility_ = V; }
     void setVisibility(Visibility V, bool E) { visibility_ = V; explicit_ = E; }
-    void setVisibility(LinkageInfo Other) {
-      setVisibility(Other.visibility(), Other.visibilityExplicit());
-    }
 
     void mergeLinkage(Linkage L) {
       setLinkage(minLinkage(linkage(), L));





More information about the cfe-commits mailing list