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 | 270562b3d4c61ae1381cb1b0026bb703b46ff88f (patch) | |
tree | dc95c8cba3a2dd08aa0facb0293c7689bca5e6bb /utils/TableGen/TGParser.h | |
parent | 8613b18a5aa80b13bb8c7f470528146f009bed74 (diff) | |
download | external_llvm-270562b3d4c61ae1381cb1b0026bb703b46ff88f.zip external_llvm-270562b3d4c61ae1381cb1b0026bb703b46ff88f.tar.gz external_llvm-270562b3d4c61ae1381cb1b0026bb703b46ff88f.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(); |