r193922 - Sema: Remove stray whitespace around Sema::CheckBaseSpecifier
David Majnemer
david.majnemer at gmail.com
Sat Nov 2 04:24:41 PDT 2013
Author: majnemer
Date: Sat Nov 2 06:24:41 2013
New Revision: 193922
URL: http://llvm.org/viewvc/llvm-project?rev=193922&view=rev
Log:
Sema: Remove stray whitespace around Sema::CheckBaseSpecifier
Modified:
cfe/trunk/lib/Sema/SemaDeclCXX.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=193922&r1=193921&r2=193922&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Sat Nov 2 06:24:41 2013
@@ -1371,10 +1371,10 @@ Sema::CheckBaseSpecifier(CXXRecordDecl *
assert(CXXBaseDecl && "Base type is not a C++ type");
// C++ [class]p3:
- // If a class is marked final and it appears as a base-type-specifier in
+ // If a class is marked final and it appears as a base-type-specifier in
// base-clause, the program is ill-formed.
if (FinalAttr *FA = CXXBaseDecl->getAttr<FinalAttr>()) {
- Diag(BaseLoc, diag::err_class_marked_final_used_as_base)
+ Diag(BaseLoc, diag::err_class_marked_final_used_as_base)
<< CXXBaseDecl->getDeclName()
<< FA->isSpelledAsSealed();
Diag(CXXBaseDecl->getLocation(), diag::note_previous_decl)
@@ -1384,7 +1384,7 @@ Sema::CheckBaseSpecifier(CXXRecordDecl *
if (BaseDecl->isInvalidDecl())
Class->setInvalidDecl();
-
+
// Create the base specifier.
return new (Context) CXXBaseSpecifier(SpecifierRange, Virtual,
Class->getTagKind() == TTK_Class,
More information about the cfe-commits
mailing list