diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-06-05 02:11:52 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-06-05 02:11:52 +0000 |
| commit | 5076887b37b0d0a2b6040899443274530aa89ca8 (patch) | |
| tree | dc95c8cba3a2dd08aa0facb0293c7689bca5e6bb /utils/TableGen/TGParser.h | |
| parent | eeb01df9c1f16636746d1fc6eef35ea0487eeecd (diff) | |
| download | external_llvm-5076887b37b0d0a2b6040899443274530aa89ca8.zip external_llvm-5076887b37b0d0a2b6040899443274530aa89ca8.tar.gz external_llvm-5076887b37b0d0a2b6040899443274530aa89ca8.tar.bz2 | |
Teach tablegen to support 'defm' inside multiclasses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TGParser.h')
| -rw-r--r-- | utils/TableGen/TGParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TGParser.h b/utils/TableGen/TGParser.h index 9f4b634..88998d4 100644 --- a/utils/TableGen/TGParser.h +++ b/utils/TableGen/TGParser.h @@ -74,7 +74,7 @@ private: // Parser methods. bool ParseClass(); bool ParseMultiClass(); bool ParseMultiClassDef(MultiClass *CurMC); - bool ParseDefm(); + bool ParseDefm(MultiClass *CurMultiClass = 0); bool ParseTopLevelLet(); std::vector<LetRecord> ParseLetList(); |
