summaryrefslogtreecommitdiffstats
path: root/src/includes_normalize.h
Commit message (Collapse)AuthorAgeFilesLines
* added missing include guardsMihail Szabolcs2024-02-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | These changes make it easy to build an amalgamated `ninja.cc` that can be used to bootstrap ninja with just a working C++ compiler, without the need for any third-party tools like `cmake` or `python`. *nix c++ -O2 src/ninja_amalgamated.cc -o ninja osx-cross x86_64-apple-darwin19-c++ -O2 src/one.cc -o ninja mingw x86_64-w64-mingw32-c++ -O2 src/ninja_amalgamated.cc -o ninja.exe msvc cl.exe /nologo /Ox /GR- src\ninja_amalgamated.cc /out:ninja.exe
* Comply with project formatting rules wrt 80 column linesMichael Jones2020-09-301-1/+2
|
* Remove 'using namespace std' from header files, properly namespace all std ↵Michael Jones2020-09-301-8/+8
| | | | symbols
* Verify GetFullPathName return valueFredrik Medley2018-11-081-2/+2
| | | | | | | GetFullPathName previously failed silently on long path names resulting in uninitialized path result. Signed-off-by: Fredrik Medley <fredrik.medley@autoliv.com>
* Fix for reviewTakuto Ikuta2017-05-091-2/+2
|
* Make clparser fastertikuta2017-05-081-7/+11
| | | | | | | | | | This patch improves perfromance of clparser. * Reduce the number of calling GetFullPathName. * Use StringPiece for Split and Join. * Add EqualsCaseInsensitive for StringPiece not to generate new string instance. * Add some utility member in StringPiece class.
* push error to caller and abort on failureScott Graham2015-06-091-1/+2
|
* make all GetNode explicit, add DepsLog canonicalize testScott Graham2014-11-101-2/+1
|
* includes_normalize: also lowercase cross-drive includesEvan Martin2012-08-121-1/+1
| | | | It seems to me inconsistent to normalize one but not the other.
* add functions for normalizing win32 include pathsScott Graham2012-08-121-0/+35
(Note from Evan: this is landing Scott's code more or less verbatim without a lot of analysis; it could maybe be simplified and reduced, but it's only intended to be used in the MSVC helper so it's fine to be experimental.)