This revision was automatically updated to reflect the committed changes.
Closed by commit rL281525: Correct assert text in DeclGroup::getSingleDecl() 
(authored by omtcyfz).

Changed prior to commit:
  https://reviews.llvm.org/D24518?vs=71188&id=71414#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D24518

Files:
  cfe/trunk/include/clang/AST/DeclGroup.h

Index: cfe/trunk/include/clang/AST/DeclGroup.h
===================================================================
--- cfe/trunk/include/clang/AST/DeclGroup.h
+++ cfe/trunk/include/clang/AST/DeclGroup.h
@@ -84,7 +84,7 @@
   bool isDeclGroup() const { return getKind() == DeclGroupKind; }
 
   Decl *getSingleDecl() {
-    assert(isSingleDecl() && "Isn't a declgroup");
+    assert(isSingleDecl() && "Isn't a single decl");
     return D;
   }
   const Decl *getSingleDecl() const {


Index: cfe/trunk/include/clang/AST/DeclGroup.h
===================================================================
--- cfe/trunk/include/clang/AST/DeclGroup.h
+++ cfe/trunk/include/clang/AST/DeclGroup.h
@@ -84,7 +84,7 @@
   bool isDeclGroup() const { return getKind() == DeclGroupKind; }
 
   Decl *getSingleDecl() {
-    assert(isSingleDecl() && "Isn't a declgroup");
+    assert(isSingleDecl() && "Isn't a single decl");
     return D;
   }
   const Decl *getSingleDecl() const {
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to