llvm-project/clang-tools-extra/clangd/include-mapping
Haojian Wu 34f5188d0f [clangd] Add include-mapping for C symbols.
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
2019-06-21 13:32:18 +00:00
..
cppreference_parser.py [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
gen_std.py [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
test.py [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00