Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Haojian Wu 4189dec580 [find-all-symbols] Slim SymbolInfo.
Summary:
SymbolInfo has some optional fields, which is a bad-smell
implementation. For now, we

* remove the optional field since we don't need them (we can probably
  add them back if we actually need them in the future)
* make SymbolInfo to be a class.

By this change, the code is more simplified.

Reviewers: klimek

Subscribers: cfe-commits, ioeric, bkramer

Differential Revision: http://reviews.llvm.org/D20095

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@269162 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-11 08:38:21 +00:00
Benjamin Kramer 87226466eb [include-fixer] Autodetect yaml databases in parent directories.
This looks for find_all_symbols_db.yaml in all parent directories of the
source file (like we do for compile_commands.json) so we don't have to
pass the path manually.

Differential Revision: http://reviews.llvm.org/D20066

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@268920 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-09 14:14:55 +00:00
Eric Liu b2d99deda3 Added XrefsDBManager into include-fixer and made XrefsDB return SymbolInfo.
Summary: Added XrefsDBManager into include-fixer and made XrefsDB return SymbolInfo.

Reviewers: hokein, djasper, klimek

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D19869

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@268480 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-04 08:22:35 +00:00
Haojian Wu 10c1dd6c94 [include-fixer] Add Yaml database integration.
Reviewers: bkramer

Subscribers: cfe-commits, klimek, djasper

Differential Revision: http://reviews.llvm.org/D19648

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@268017 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-29 09:23:38 +00:00