summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/unittests/CanonicalIncludesTests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clangd] Use pre-populated mappings for standard symbolsIlya Biryukov2019-09-091-7/+21
| | | | | | | | | | | | | | | | | | | | Summary: This takes ~5% of time when running clangd unit tests. To achieve this, move mapping of system includes out of CanonicalIncludes and into a separate class Reviewers: sammccall, hokein Reviewed By: sammccall Subscribers: MaskRay, jkorous, arphaman, kadircet, jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67172 llvm-svn: 371408
* [clangd] Add include-mapping for C symbols.Haojian Wu2019-06-211-1/+13
| | | | | | | | | | | | | | | | | | | Summary: This resolves the issue of introducing c++-style includes for C files. - refactor the gen_std.py, make it reusable for parsing C symbols. - add a language mode to the mapping method to use different mapping for C and C++ files. Reviewers: kadircet Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63270 llvm-svn: 364044
* [clangd] Add separate unit tests for CanonicalIncludes. NFCSam McCall2019-04-291-0/+62
llvm-svn: 359455
OpenPOWER on IntegriCloud