diff options
| author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-07-27 06:12:32 +0000 |
|---|---|---|
| committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-07-27 06:12:32 +0000 |
| commit | 00b16889ab461b7ecef1c91ade101186b7f1fce2 (patch) | |
| tree | 263acb2b05b59235d77bee1d38fa842f2044ec0e /utils/TableGen/AsmWriterEmitter.cpp | |
| parent | 54eed36da595f09c46a46b2b0b15757ea486b4c1 (diff) | |
Eliminate all remaining tabs and trailing spaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/AsmWriterEmitter.cpp')
| -rw-r--r-- | utils/TableGen/AsmWriterEmitter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index 12dc09994c..eeabd8a089 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -116,7 +116,7 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) { LastEmitted = DollarPos; } else if (AsmString[DollarPos] == '{') { if (inVariant) - throw "Nested variants found for instruction '" + + throw "Nested variants found for instruction '" + CGI.TheDef->getName() + "'!"; LastEmitted = DollarPos+1; inVariant = true; // We are now inside of the variant! @@ -127,7 +127,7 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) { std::string::size_type NP = AsmString.find_first_of("|}", LastEmitted); if (NP == std::string::npos) - throw "Incomplete variant for instruction '" + + throw "Incomplete variant for instruction '" + CGI.TheDef->getName() + "'!"; LastEmitted = NP+1; if (AsmString[NP] == '}') { @@ -142,7 +142,7 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) { // Move to the end of variant list. std::string::size_type NP = AsmString.find('}', LastEmitted); if (NP == std::string::npos) - throw "Incomplete variant for instruction '" + + throw "Incomplete variant for instruction '" + CGI.TheDef->getName() + "'!"; LastEmitted = NP+1; inVariant = false; @@ -188,7 +188,7 @@ AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant) { ++VarEnd; } if (VarName.empty()) - throw "Stray '$' in '" + CGI.TheDef->getName() + + throw "Stray '$' in '" + CGI.TheDef->getName() + "' asm string, maybe you want $$?"; unsigned OpNo = CGI.getOperandNamed(VarName); |
