From: Mikhail Glushenkov Date: Fri, 1 Jan 2010 03:50:34 +0000 (+0000) Subject: Better error message. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=163dd597c9276558e7be85809ae951d82cda9b5b;p=oota-llvm.git Better error message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92389 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp index b6858404fa3..1c7e5d0891f 100644 --- a/utils/TableGen/LLVMCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -1397,7 +1397,7 @@ void EmitCaseTest(const DagInit& d, unsigned IndentLevel, else if (EmitCaseTest2Args(TestName, d, IndentLevel, OptDescs, O)) return; else - throw TestName + ": unknown edge property!"; + throw "Unknown test '" + TestName + "' used in the 'case' construct!"; }