aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-14 23:22:57 +0000
committerChris Lattner <sabre@nondot.org>2009-04-14 23:22:57 +0000
commit184e65d363aa9148c3935ca445bb823e6e0d3617 (patch)
treea96cc2e85d6e328bc5623f14a4dcc1801cc3656e /llvm/lib/CodeGen/MachineInstr.cpp
parent6c6aea914ab003284feb2ad49627007dd525940e (diff)
downloadllvm-184e65d363aa9148c3935ca445bb823e6e0d3617.zip
llvm-184e65d363aa9148c3935ca445bb823e6e0d3617.tar.gz
llvm-184e65d363aa9148c3935ca445bb823e6e0d3617.tar.bz2
Change Lexer::MeasureTokenLength to take a LangOptions reference.
This allows it to accurately measure tokens, so that we get: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~~^ instead of the woefully inferior: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~ ^ Most of this is just plumbing to push the reference around. llvm-svn: 69099
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions