summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit5c427634528198d194f8c656df745e6c39d152d9 (patch)
tree69a4b4d35b1daf570b327ef467a2b3f36b3eaa50 /llvm/lib/AsmParser/LLParser.h
parentf4f0342b0865e09af4326bf9281c7a5424187a7f (diff)
downloadbcm5719-llvm-5c427634528198d194f8c656df745e6c39d152d9.tar.gz
bcm5719-llvm-5c427634528198d194f8c656df745e6c39d152d9.zip
rename ParseOptionalCustomMetadata -> ParseInstructionMetadata,
and make it non-optional. This fixes the bug where we'd accept and ignore a spurious comma after some instructions. llvm-svn: 92300
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r--llvm/lib/AsmParser/LLParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h
index a74974b1a65..8fd04d0bcc2 100644
--- a/llvm/lib/AsmParser/LLParser.h
+++ b/llvm/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) {
OpenPOWER on IntegriCloud