summaryrefslogtreecommitdiffstats
path: root/src/msvc_helper_test.cc
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2013-07-11 00:30:16 (GMT)
committerNico Weber <thakis@chromium.org>2013-07-11 00:30:16 (GMT)
commitadaa91a33eb2cf23b88333b5cc2e2e456a5f1803 (patch)
treeff3784aac139353a1ab833e70cbcd9d83a4bca15 /src/msvc_helper_test.cc
parent699d678774bfae538f3f555abd6ac3d91e968f52 (diff)
downloadNinja-adaa91a33eb2cf23b88333b5cc2e2e456a5f1803.zip
Ninja-adaa91a33eb2cf23b88333b5cc2e2e456a5f1803.tar.gz
Ninja-adaa91a33eb2cf23b88333b5cc2e2e456a5f1803.tar.bz2
Reuse ManifestParser::Load() in ManifestParser::ParseFileInclude().
ParseFileInclude() was doing the work that Load() was doing. Instead, just make it call Load(). Also, remove a FIXME about using ReadPath() in ParseFileInclude() -- it's already being used. (The FIXME was added in the same commit that added the call to ReadPath() -- 8a0c96075786c19 -- it probably should've been deleted before that commit.) Also, remove a `contents.resize(contents.size() + 10);`. It's not clear what it's for, but if it was important then ManifestParser::ParseFileInclude() would have needed that call too, and it didn't have it. No intended behavior change.
Diffstat (limited to 'src/msvc_helper_test.cc')
0 files changed, 0 insertions, 0 deletions