summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-driver-errors.c
Commit message (Collapse)AuthorAgeFilesLines
* [libclang] Don't try to translate diagnostics from the precompiled preamble ↵Argyrios Kyrtzidis2012-12-221-24/+0
| | | | | | | | | | | to the code-completion results, the SourceManager state may be slightly different when code-completing. And we don't even care for diagnostics when code-completing, anyway. llvm-svn: 170979
* Improve ASTUnit's capture of diagnostics so that theDouglas Gregor2010-11-111-5/+6
| | | | | | | | | | diagnostic-capturing client lives as long as the ASTUnit itself does. Otherwise, we can end up with crashes when we get a diagnostic outside of parsing/code completion. The circumstances under which this happen are really hard to reproduce, because a file needs to change from under us. llvm-svn: 118751
* Tweak code-completion result priorities, so that exact and similarDouglas Gregor2010-10-191-3/+3
| | | | | | | | | type matches have a bigger impact. The impetus for this change was that, when initializing an enumeration value, we want enumerators of that enumeration type to have a higher priority than, e.g., unrelated local variables. llvm-svn: 116774
* When we load an ASTUnit from command-line arguments, hold on to theDouglas Gregor2010-10-121-0/+23
diagnostics produced by the driver itself. Previously, we were allowing these to either be dropped or to slip through to stderr. Fixes <rdar://problem/7595339>. llvm-svn: 116285
OpenPOWER on IntegriCloud