[cfe-commits] r107265 - /cfe/trunk/include/clang/AST/DeclFriend.h

Argyrios Kyrtzidis akyrtzi at gmail.com
Wed Jun 30 01:49:12 PDT 2010


Author: akirtzidis
Date: Wed Jun 30 03:49:12 2010
New Revision: 107265

URL: http://llvm.org/viewvc/llvm-project?rev=107265&view=rev
Log:
Make the constructor explicit.

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

Modified: cfe/trunk/include/clang/AST/DeclFriend.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclFriend.h?rev=107265&r1=107264&r2=107265&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclFriend.h (original)
+++ cfe/trunk/include/clang/AST/DeclFriend.h Wed Jun 30 03:49:12 2010
@@ -59,7 +59,8 @@
       FriendLoc(FriendL) {
   }
 
-  FriendDecl(EmptyShell Empty) : Decl(Decl::Friend, Empty), NextFriend(0) { }
+  explicit FriendDecl(EmptyShell Empty)
+    : Decl(Decl::Friend, Empty), NextFriend(0) { }
 
 public:
   static FriendDecl *Create(ASTContext &C, DeclContext *DC,





More information about the cfe-commits mailing list