[PATCH] D11792: MIR Parser: Simplify the token's string value handling.

Alex Lorenz arphaman at gmail.com
Wed Aug 5 17:25:58 PDT 2015


arphaman created this revision.
arphaman added a reviewer: silvas.
arphaman added a subscriber: llvm-commits.
arphaman set the repository for this revision to rL LLVM.

This patch removes the StringOffset and HasStringValue fields from the MIToken struct and simplifies the stringValue method which now returns the new StringValue field.

Repository:
  rL LLVM

http://reviews.llvm.org/D11792

Files:
  lib/CodeGen/MIRParser/MILexer.cpp
  lib/CodeGen/MIRParser/MILexer.h
  lib/CodeGen/MIRParser/MIParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11792.31422.patch
Type: text/x-patch
Size: 4586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/5e011db0/attachment.bin>


More information about the llvm-commits mailing list