summaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-30 05:31:19 +0000
committerChris Lattner <sabre@nondot.org>2009-12-30 05:31:19 +0000
commitb8c4686a46da2832ff4502136f16f71f789be078 (patch)
tree958b1a71a822d47e828bd7dd27d4196ffc64656f /lib/AsmParser/LLParser.h
parenta7d7f2c0239ecc8513461ec69c8b922698ce5fe0 (diff)
downloadllvm-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.h2
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) {