aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-01-01 03:50:34 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-01-01 03:50:34 +0000
commit163dd597c9276558e7be85809ae951d82cda9b5b (patch)
treed15727182e960aec3c1f5cdb8e773fac175996ce /utils
parentf031e8ad011e9ad95d7c965936da07e3a9c42add (diff)
downloadexternal_llvm-163dd597c9276558e7be85809ae951d82cda9b5b.zip
external_llvm-163dd597c9276558e7be85809ae951d82cda9b5b.tar.gz
external_llvm-163dd597c9276558e7be85809ae951d82cda9b5b.tar.bz2
Better error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index b685840..1c7e5d0 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!";
}