summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/include-fixer/commandline_options.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename directory housing clang-include-fixer to be eponymousNico Weber2019-03-251-15/+0
| | | | | | | | | | | Makes the name of this directory consistent with the names of the other directories in clang-tools-extra. Similar to r356254. No intended behavior change. Differential Revision: https://reviews.llvm.org/D59750 llvm-svn: 356897
* Remove most instances of REQUIRES: shell from the tools/extra testsReid Kleckner2016-08-161-4/+3
| | | | | | | | None of these tests actually require bash, they just have quoting bugs when paths contain backslashes and colons. Fix them with the "%/T" lit substitution variants. llvm-svn: 278815
* [include-fixer] Support processing multiple files in one run.Haojian Wu2016-08-091-3/+3
| | | | | | | | | | | | | | | | | | | Summary: Previously, if we pass multiple files or a file pattern (e.g. /path/to/*.cc) to include-fixer, include-fixer will apply all replacements to the first argument, which probably causes crashes. With this patch, include-fixer can process multiple files now. Vim and Emacs integration are tested manually. Reviewers: bkramer Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D23266 llvm-svn: 278102
* [include-fixer] Add mising qualifiers to all instances of an unidentified ↵Haojian Wu2016-07-211-3/+3
| | | | | | | | | | | | symbol. Reviewers: bkramer Subscribers: ioeric, cfe-commits Differential Revision: https://reviews.llvm.org/D22567 llvm-svn: 276280
* [include-fixer] A refactoring of IncludeFixerContext.Haojian Wu2016-07-191-3/+3
| | | | | | | | | | | | | | | | | Summary: No functional changes in this patch. It is a refactoring (pull out a structure representing the symbol being queried). This is a preparing step for inserting missing namespace qualifiers to all instances of an unidentified symbol. Reviewers: bkramer Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D22510 llvm-svn: 275980
* [include-fixer] Implement adding missing namespace qualifiers in vim ↵Haojian Wu2016-07-131-8/+13
| | | | | | | | | | | | | | | | | integration. Summary: The patch extends include-fixer's "-output-headers", and "-insert-headers" command line options to make it dump more information (e.g. QualifiedSymbol), so that vim-integration can add missing qualifiers. Reviewers: bkramer Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D22299 llvm-svn: 275279
* [include-fixer] Use YAML format in -output-headers and -insert-header mode.Haojian Wu2016-06-011-3/+2
| | | | | | | | | | | | | | | Summary: And some improvements: * Show better error messages on unfound symbols. * Fix a typo. Reviewers: bkramer Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20827 llvm-svn: 271382
* [include-fixer] Create a mode in vim integration to show multiple potential ↵Haojian Wu2016-05-311-0/+12
headers. Summary: Some changes in the patch: * Add two commandline flags in clang-include-fixer. * Introduce a IncludeFixerContext for the queried symbol. * Pull out CreateReplacementsForHeader. Reviewers: bkramer Subscribers: klimek, cfe-commits, ioeric Differential Revision: http://reviews.llvm.org/D20621 llvm-svn: 271258
OpenPOWER on IntegriCloud