summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clangd/ParsedAST.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix naming style. NFC.Alexander Kornienko2019-12-121-2/+2
|
* clang-tidy: Don't repeat list of all checks in three places.Nico Weber2019-09-271-28/+5
| | | | | | | | | | | | Instead, put all checks in a cmake variable and reference this. Also, make clangd use the the ClangTidyForceLinker.h header instead of duplicating the list of modules -- the duplicate copy was missing the new "darwin" checker added in r373065. Differential Revision: https://reviews.llvm.org/D68132 llvm-svn: 373082
* Return results by value from ClangTidyCheckFactories::createChecksDmitri Gribenko2019-09-261-1/+1
| | | | llvm-svn: 372979
* [clangd] Collect macros in the preamble region of the main fileHaojian Wu2019-09-241-40/+12
| | | | | | | | | | | | | | | | Summary: - store all macro references in the ParsedAST; - unify the two variants of CollectMainFileMacros; Reviewers: ilya-biryukov Subscribers: MaskRay, jkorous, mgrang, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67496 llvm-svn: 372725
* [clangd] Collect location of macro definition in the ParsedASTHaojian Wu2019-09-101-13/+20
| | | | | | | | | | | | allows semantic hightlighting macro definition Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67264 llvm-svn: 371504
* [clangd] Use pre-populated mappings for standard symbolsIlya Biryukov2019-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | 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] Use override keyword to override the base class method, NFCHaojian Wu2019-09-061-3/+2
| | | | llvm-svn: 371194
* [clangd] Rename ClangdUnit.h -> ParsedAST.h. NFCSam McCall2019-09-041-0/+574
This much better reflects what is (now) in this header. Maybe a rename to ParsedTU would be an improvement, but that's a much more invasive change and life is too short. ClangdUnit is dead, long live ClangdUnitTests! llvm-svn: 370862
OpenPOWER on IntegriCloud