diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-05 17:04:00 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-05 17:04:00 +0000 |
commit | a9720f5051f474f8e376f207f79d785c15f3e6d7 (patch) | |
tree | 3c4266d922d96ac92d7a598460dd56eb34b7a63d /lib/AsmParser | |
parent | 1755a9a7b1be305e433fccb77aea44dfca46205f (diff) | |
download | external_llvm-a9720f5051f474f8e376f207f79d785c15f3e6d7.zip external_llvm-a9720f5051f474f8e376f207f79d785c15f3e6d7.tar.gz external_llvm-a9720f5051f474f8e376f207f79d785c15f3e6d7.tar.bz2 |
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.cpp.cvs | 18 | ||||
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y.cvs | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/lib/AsmParser/llvmAsmParser.cpp.cvs b/lib/AsmParser/llvmAsmParser.cpp.cvs index f3bd0de..02abfbb 100644 --- a/lib/AsmParser/llvmAsmParser.cpp.cvs +++ b/lib/AsmParser/llvmAsmParser.cpp.cvs @@ -749,11 +749,11 @@ static Value *getValNonImprovising(const Type *Ty, const ValID &D) { return IA; } default: - assert(0 && "Unhandled case"); + assert(0 && "Unhandled case!"); return 0; } // End of switch - assert(0 && "Unhandled case"); + assert(0 && "Unhandled case!"); return 0; } @@ -804,7 +804,7 @@ static Value *getVal(const Type *Ty, const ValID &ID) { /// or may not be a forward reference. /// static BasicBlock *getBBVal(const ValID &ID, bool isDefinition = false) { - assert(inFunctionScope() && "Can't get basic block at global scope"); + assert(inFunctionScope() && "Can't get basic block at global scope!"); std::string Name; BasicBlock *BB = 0; @@ -893,7 +893,7 @@ ResolveDefinitions(std::map<const Type*,ValueList> &LateResolvers, std::map<Value*, std::pair<ValID, int> >::iterator PHI = CurModule.PlaceHolderInfo.find(V); - assert(PHI != CurModule.PlaceHolderInfo.end() && "Placeholder error"); + assert(PHI != CurModule.PlaceHolderInfo.end() && "Placeholder error!"); ValID &DID = PHI->second.first; @@ -959,7 +959,7 @@ static void setValueName(Value *V, char *NameStr) { return; } - assert(inFunctionScope() && "Must be in function scope"); + assert(inFunctionScope() && "Must be in function scope!"); SymbolTable &ST = CurFun.CurrentFunction->getValueSymbolTable(); if (ST.lookup(V->getType(), Name)) { GenerateError("Redefinition of value '" + Name + "' of type '" + @@ -1044,7 +1044,7 @@ ParseGlobalVariable(char *NameStr, // allowed to be redefined in the specified context. If the name is a new name // for the type plane, it is inserted and false is returned. static bool setTypeName(const Type *T, char *NameStr) { - assert(!inFunctionScope() && "Can't give types function-local names"); + assert(!inFunctionScope() && "Can't give types function-local names!"); if (NameStr == 0) return false; std::string Name(NameStr); // Copy string @@ -1061,7 +1061,7 @@ static bool setTypeName(const Type *T, char *NameStr) { if (AlreadyExists) { // Inserting a name that is already defined??? const Type *Existing = CurModule.CurrentModule->getTypeByName(Name); - assert(Existing && "Conflict but no matching type?"); + assert(Existing && "Conflict but no matching type?!"); // There is only one case where this is allowed: when we are refining an // opaque type. In this case, Existing will be an opaque type. @@ -3933,7 +3933,7 @@ yyreduce: // in the future with the right type of variable. // if (V == 0) { - assert(isa<PointerType>(Ty) && "Globals may only be used as pointers"); + assert(isa<PointerType>(Ty) && "Globals may only be used as pointers!"); const PointerType *PT = cast<PointerType>(Ty); // First check to see if the forward references value is already created! @@ -4596,7 +4596,7 @@ yyreduce: if ((yyvsp[-4].ArgList)) { // Is null if empty... if (isVarArg) { // Nuke the last entry assert((yyvsp[-4].ArgList)->back().Ty->get() == Type::VoidTy && (yyvsp[-4].ArgList)->back().Name == 0&& - "Not a varargs marker"); + "Not a varargs marker!"); delete (yyvsp[-4].ArgList)->back().Ty; (yyvsp[-4].ArgList)->pop_back(); // Delete the last entry } diff --git a/lib/AsmParser/llvmAsmParser.y.cvs b/lib/AsmParser/llvmAsmParser.y.cvs index a03f617..186a93f 100644 --- a/lib/AsmParser/llvmAsmParser.y.cvs +++ b/lib/AsmParser/llvmAsmParser.y.cvs @@ -429,11 +429,11 @@ static Value *getValNonImprovising(const Type *Ty, const ValID &D) { return IA; } default: - assert(0 && "Unhandled case"); + assert(0 && "Unhandled case!"); return 0; } // End of switch - assert(0 && "Unhandled case"); + assert(0 && "Unhandled case!"); return 0; } @@ -484,7 +484,7 @@ static Value *getVal(const Type *Ty, const ValID &ID) { /// or may not be a forward reference. /// static BasicBlock *getBBVal(const ValID &ID, bool isDefinition = false) { - assert(inFunctionScope() && "Can't get basic block at global scope"); + assert(inFunctionScope() && "Can't get basic block at global scope!"); std::string Name; BasicBlock *BB = 0; @@ -573,7 +573,7 @@ ResolveDefinitions(std::map<const Type*,ValueList> &LateResolvers, std::map<Value*, std::pair<ValID, int> >::iterator PHI = CurModule.PlaceHolderInfo.find(V); - assert(PHI != CurModule.PlaceHolderInfo.end() && "Placeholder error"); + assert(PHI != CurModule.PlaceHolderInfo.end() && "Placeholder error!"); ValID &DID = PHI->second.first; @@ -639,7 +639,7 @@ static void setValueName(Value *V, char *NameStr) { return; } - assert(inFunctionScope() && "Must be in function scope"); + assert(inFunctionScope() && "Must be in function scope!"); SymbolTable &ST = CurFun.CurrentFunction->getValueSymbolTable(); if (ST.lookup(V->getType(), Name)) { GenerateError("Redefinition of value '" + Name + "' of type '" + @@ -724,7 +724,7 @@ ParseGlobalVariable(char *NameStr, // allowed to be redefined in the specified context. If the name is a new name // for the type plane, it is inserted and false is returned. static bool setTypeName(const Type *T, char *NameStr) { - assert(!inFunctionScope() && "Can't give types function-local names"); + assert(!inFunctionScope() && "Can't give types function-local names!"); if (NameStr == 0) return false; std::string Name(NameStr); // Copy string @@ -741,7 +741,7 @@ static bool setTypeName(const Type *T, char *NameStr) { if (AlreadyExists) { // Inserting a name that is already defined??? const Type *Existing = CurModule.CurrentModule->getTypeByName(Name); - assert(Existing && "Conflict but no matching type?"); + assert(Existing && "Conflict but no matching type?!"); // There is only one case where this is allowed: when we are refining an // opaque type. In this case, Existing will be an opaque type. @@ -1625,7 +1625,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr // in the future with the right type of variable. // if (V == 0) { - assert(isa<PointerType>(Ty) && "Globals may only be used as pointers"); + assert(isa<PointerType>(Ty) && "Globals may only be used as pointers!"); const PointerType *PT = cast<PointerType>(Ty); // First check to see if the forward references value is already created! @@ -2116,7 +2116,7 @@ FunctionHeaderH : OptCallingConv ResultTypes GlobalName '(' ArgList ')' if ($5) { // Is null if empty... if (isVarArg) { // Nuke the last entry assert($5->back().Ty->get() == Type::VoidTy && $5->back().Name == 0&& - "Not a varargs marker"); + "Not a varargs marker!"); delete $5->back().Ty; $5->pop_back(); // Delete the last entry } |