aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-07-07 16:07:36 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-07-07 16:07:36 +0000
commitb797000820b576f4d5964be6b659dac15ad6fec8 (patch)
tree9a6911b2b40b1fbc70da37dad75f2d4c2baca764 /utils/TableGen
parent1dd35b4c35ef149a48c511283331f49c04351cae (diff)
downloadexternal_llvm-b797000820b576f4d5964be6b659dac15ad6fec8.zip
external_llvm-b797000820b576f4d5964be6b659dac15ad6fec8.tar.gz
external_llvm-b797000820b576f4d5964be6b659dac15ad6fec8.tar.bz2
Comment fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r--utils/TableGen/LLVMCConfigurationEmitter.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/TableGen/LLVMCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp
index fc182ce..42d9d9c 100644
--- a/utils/TableGen/LLVMCConfigurationEmitter.cpp
+++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp
@@ -81,11 +81,10 @@ const DagInit& InitPtrToDag(const Init* ptr) {
}
// checkNumberOfArguments - Ensure that the number of args in d is
-// less than or equal to min_arguments, otherwise throw an exception.
+// greater than or equal to min_arguments, otherwise throw an exception.
void checkNumberOfArguments (const DagInit* d, unsigned min_arguments) {
if (!d || d->getNumArgs() < min_arguments)
- throw d->getOperator()->getAsString()
- + ": too few arguments!";
+ throw d->getOperator()->getAsString() + ": too few arguments!";
}
// isDagEmpty - is this DAG marked with an empty marker?