summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-06-30 08:49:12 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-06-30 08:49:12 +0000
commit2b3ac092001c7d95c07ef8506604812c611015c4 (patch)
tree14b167cae404930e7c2e85c4c1e2c7d1830ef2c3
parent2a47730767043cb213337692c7e02002274763ae (diff)
downloadbcm5719-llvm-2b3ac092001c7d95c07ef8506604812c611015c4.tar.gz
bcm5719-llvm-2b3ac092001c7d95c07ef8506604812c611015c4.zip
Make the constructor explicit.
llvm-svn: 107265
-rw-r--r--clang/include/clang/AST/DeclFriend.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/AST/DeclFriend.h b/clang/include/clang/AST/DeclFriend.h
index 85085c3080b..2807d16379a 100644
--- a/clang/include/clang/AST/DeclFriend.h
+++ b/clang/include/clang/AST/DeclFriend.h
@@ -59,7 +59,8 @@ private:
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,
OpenPOWER on IntegriCloud