diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-30 05:31:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-30 05:31:19 +0000 |
commit | b8c4686a46da2832ff4502136f16f71f789be078 (patch) | |
tree | 958b1a71a822d47e828bd7dd27d4196ffc64656f /lib/AsmParser/LLParser.h | |
parent | a7d7f2c0239ecc8513461ec69c8b922698ce5fe0 (diff) | |
download | llvm-b8c4686a46da2832ff4502136f16f71f789be078.tar.gz llvm-b8c4686a46da2832ff4502136f16f71f789be078.tar.bz2 llvm-b8c4686a46da2832ff4502136f16f71f789be078.tar.xz |
rename ParseOptionalCustomMetadata -> ParseInstructionMetadata,
and make it non-optional. This fixes the bug where we'd accept
and ignore a spurious comma after some instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index a74974b1a6..8fd04d0bcc 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -171,7 +171,7 @@ namespace llvm { bool ParseOptionalVisibility(unsigned &Visibility); bool ParseOptionalCallingConv(CallingConv::ID &CC); bool ParseOptionalAlignment(unsigned &Alignment); - bool ParseOptionalCustomMetadata(); + bool ParseInstructionMetadata(); bool ParseOptionalInfo(unsigned &Alignment); bool ParseIndexList(SmallVectorImpl<unsigned> &Indices,bool &AteExtraComma); bool ParseIndexList(SmallVectorImpl<unsigned> &Indices) { |