summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-preamble.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [libclang] Add a flag to create the precompiled preamble on the first parse.Benjamin Kramer2015-12-151-2/+11
| | | | | | | | | | | | | | | | | | | | | Summary: The current default is to create the preamble on the first reparse, aka second parse. This is useful for clients that do not want to block when opening a file because serializing the preamble takes a bit of time. However, this makes the reparse much more expensive and that may be on the critical path as it's the first interaction a user has with the source code. YouCompleteMe currently optimizes for the first code interaction by parsing the file twice when loaded. That's just unnecessarily slow and this flag helps to avoid that. Reviewers: doug.gregor, klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D15490 llvm-svn: 255635
* Fix FileCheck --check-prefix lines.Tim Northover2013-08-121-1/+1
| | | | | | | | | | Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
* [libclang] Remove the ParentKind cursor kind from code-completion results.Argyrios Kyrtzidis2012-09-261-1/+1
| | | | | | This is to reduce dependency to cursors for the code-completion results. llvm-svn: 164705
* When we need the complete set of visible declarations from aDouglas Gregor2012-08-171-0/+8
declaration context, check whether the primary context---not the current context---has any external visible declarations. Fixes PR13616. llvm-svn: 162083
OpenPOWER on IntegriCloud