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
commita964b03ca4cb9798af171a51e3bfd1508629e9c6 (patch)
tree9a6911b2b40b1fbc70da37dad75f2d4c2baca764 /utils/TableGen
parent73c96a7e95b084ec58ee4e0289066cf76dfbd2f7 (diff)
downloadexternal_llvm-a964b03ca4cb9798af171a51e3bfd1508629e9c6.zip
external_llvm-a964b03ca4cb9798af171a51e3bfd1508629e9c6.tar.gz
external_llvm-a964b03ca4cb9798af171a51e3bfd1508629e9c6.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?