Fix typo.

llvm-svn: 128921
This commit is contained in:
Devang Patel 2011-04-05 20:28:21 +00:00
parent 92d313a021
commit 095421b4a8
2 changed files with 5 additions and 1 deletions

View File

@ -1534,6 +1534,10 @@ void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, QualType FnType,
FnBeginRegionCount.push_back(RegionStack.size());
const Decl *D = GD.getDecl();
if (const ClassTemplateSpecializationDecl *TSpecial
= dyn_cast<ClassTemplateSpecializationDecl>(D))
assert (0 && "Got one!");
unsigned Flags = 0;
llvm::DIFile Unit = getOrCreateFile(CurLoc);
llvm::DIDescriptor FDContext(Unit);

View File

@ -69,7 +69,7 @@ void CodeGenFunction::EmitDecl(const Decl &D) {
case Decl::Friend:
case Decl::FriendTemplate:
case Decl::Block:
assert(0 && "Declaration not should not be in declstmts!");
assert(0 && "Declaration should not be in declstmts!");
case Decl::Function: // void X();
case Decl::Record: // struct/union/class X;
case Decl::Enum: // enum X;