summaryrefslogtreecommitdiffstats
path: root/src/edit_distance.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge LLVM r242069, make spell checking allocate less memory.Nico Weber2015-09-071-18/+20
|
* Fix typo in comment.Nico Weber2015-05-021-1/+1
|
* Fix compilation on VS2013Scott Graham2013-10-181-0/+1
|
* drop std:: qualifiers on more stl datatypesEvan Martin2013-04-181-2/+2
| | | | We "using namespace std" anywhere we need a std::string or a std::vector.
* Revert "Make StringPiece data members private."Nico Weber2012-07-281-5/+5
| | | | | | This reverts commit 904c9610fe66c4f4bd63a07d6f057c8603d24394. The commit caused issue #380, this revert fixes it. The revert also makes the test from the previous commit pass.
* Make StringPiece data members private.Thiago Farina2012-06-301-5/+5
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Add spelling suggestions for four cases:Nico Weber2011-11-161-2/+0
| | | | | | | | | | | 1. For targets, when invoking ninja to build a target. 2. For targets, when doing a "query" command. 3. For command names. 4. For the subcommands of the "targets" command. Also change CmdTargets() to call LookupNode() instead of GetNode() -- since the result was checked for NULL, that's probably what was intended here originally.
* Add a EditDistance() function based on the one in ↵Nico Weber2011-11-131-0/+68
llvm/lib/Support/StringRef.cpp.