summaryrefslogtreecommitdiffstats
path: root/src/dyndep_parser.cc
Commit message (Collapse)AuthorAgeFilesLines
* util: Remove unnecessary CanonicalizePath error handlingBrad King2021-06-041-8/+3
| | | | | | | | | Since commit 86f606fe (Remove path component limit from input of CanonicalizePath in windows, 2017-08-30, v1.8.0^2~2^2), the only failure case in the `CanonicalizePath` implementation is the "empty path" error. All call sites have been updated to ensure `CanonicalizePath` is never called with an empty path. Remove error handling from the signature to simplify call sites.
* Add explicit "empty path" errors before calling CanonicalizePathBrad King2021-06-041-0/+6
| | | | | | Update call sites that might have empty paths to explicitly check for them before calling CanonicalizePath. Note that the depfile parser ensures all parsed outs and deps are non-empty.
* Add 'using namespace std;' to all cc files to prepare for removing it from ↵Michael Jones2020-09-301-0/+2
| | | | header files
* Add a parser for a new "dyndep" file formatBrad King2019-04-181-0/+223
Define a file format suitable for specifying dynamically-discovered dependency information for build edges. Design a format inspired by the build manifest format and using the same lexer. Start with a required format version specification followed by "build" statements that add implicit inputs and outputs to existing edges.