diff options
author | Kaelyn Takata <rikka@google.com> | 2014-11-11 23:26:56 +0000 |
---|---|---|
committer | Kaelyn Takata <rikka@google.com> | 2014-11-11 23:26:56 +0000 |
commit | 49d84328d998ea17ba7563fa77db25cfd58f4d43 (patch) | |
tree | fcc9b3660720a15e4b282d3e9dd730b1a0342c15 /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | 5c3dc4be0855edddd781d24948c5f06d1851bb5c (diff) | |
download | llvm-49d84328d998ea17ba7563fa77db25cfd58f4d43.zip llvm-49d84328d998ea17ba7563fa77db25cfd58f4d43.tar.gz llvm-49d84328d998ea17ba7563fa77db25cfd58f4d43.tar.bz2 |
Create two helpers for running the typo-correction tree transform.
One takes an Expr* and the other is a simple wrapper that takes an
ExprResult instead, and handles checking whether the ExprResult is
invalid.
Additionally, allow an optional callback that is run on the full result
of the tree transform, for filtering potential corrections based on the
characteristics of the resulting expression once all of the typos have
been replaced.
llvm-svn: 221735
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions