diff options
author | Andrew Trick <atrick@apple.com> | 2012-07-07 03:59:51 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-07-07 03:59:51 +0000 |
commit | 06495cd7f2a91c4f659eac5e55b1c08b014d0a08 (patch) | |
tree | 0a93efa3e9a101b40a6ac22dc245984bc7cf4479 /utils/TableGen/CodeGenTarget.cpp | |
parent | a11a6287a504d1d7503e744d14314df1e696f506 (diff) |
whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.cpp')
-rw-r--r-- | utils/TableGen/CodeGenTarget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index dfa9526cc9..4bc4c54f8b 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -155,18 +155,18 @@ Record *CodeGenTarget::getAsmParser() const { /// this target. /// Record *CodeGenTarget::getAsmParserVariant(unsigned i) const { - std::vector<Record*> LI = + std::vector<Record*> LI = TargetRec->getValueAsListOfDefs("AssemblyParserVariants"); if (i >= LI.size()) throw "Target does not have an AsmParserVariant #" + utostr(i) + "!"; return LI[i]; } -/// getAsmParserVariantCount - Return the AssmblyParserVariant definition +/// getAsmParserVariantCount - Return the AssmblyParserVariant definition /// available for this target. /// unsigned CodeGenTarget::getAsmParserVariantCount() const { - std::vector<Record*> LI = + std::vector<Record*> LI = TargetRec->getValueAsListOfDefs("AssemblyParserVariants"); return LI.size(); } |