summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLib/run_compile_commands.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Avoid string.clear and string.push_back (#13319)Daniel R. Gomez2012-06-191-2/+2
| | | | Compiler "gcc version 2.9-aix51-020209" does not offer them.
* Add newline to the output.Stephen Kelly2012-06-041-1/+1
|
* run_compile_commands: Cast istream::get() result to charBrad King2011-05-191-1/+1
| | | | | We perform error checking on the stream after reading so this conversion is safe.
* run_compile_commands: Avoid extra stl vector conversionBrad King2011-05-181-3/+2
| | | | | | | The Sun compiler does not provide the proper vector constructor to initialize it from an iterator pair of a non-matching type. Extend the ParseUnixCommandLine API to provide a vector of the proper type so no conversion is needed.
* run_compile_commands: Avoid shadow in std::map<>::at workaroundBrad King2011-05-171-2/+2
| | | | | The map has a member called "empty" so use a different name for the local variable in our approximate at() method.
* Provide std::map<>::at for use in run_compile_commandsBrad King2011-05-171-2/+0
| | | | | | Many compilers we support do not provide the at() member of std::map. Use the workaround added by commit a7e7a04a (Fix run_compile_commands build on Apple GCC 3.3, 2011-05-16) for all compilers.
* Fix run_compile_commands build on Apple GCC 3.3Brad King2011-05-161-1/+13
| | | | | This compiler does not provide the "at" method of std::map. Approximate it well enough for our needs.
* Adds a test for the compile command line output.Manuel Klimek2011-04-251-0/+132