summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/pch-used.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix PCHs that import more than one moduleBen Langmuir2014-09-081-0/+1
| | | | | | | We were passing < to std::unique, but it expects ==. Since the input is sorted, we were always trimming it to one entry. llvm-svn: 217402
* Note when a decl is used in AST files.Eli Friedman2013-09-051-0/+2
When an AST file is built based on another AST file, it can use a decl from the fist file, and therefore mark the "isUsed" bit. We need to note this in the AST file so that the bit is set correctly when the second AST file is loaded. This patch introduces the distinction between setIsUsed() and markUsed() so that we don't call into the ASTMutationListener callback when it wouldn't be appropriate. Fixes PR16635. llvm-svn: 190016
OpenPOWER on IntegriCloud