summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/check-deserializations.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Internal-linkage variables with constant-evaluatable initializers do not ↵Richard Smith2015-08-191-3/+12
| | | | | | need to be emitted. (Also reduces the set of variables that need to be eagerly deserialized when using PCH / modules.) llvm-svn: 245497
* Fix bots failing on an explicit tripleReid Kleckner2015-02-251-0/+3
| | | | | | Why do we need a registered target for this? llvm-svn: 230450
* MS ABI: Add triple to test relying on key functionsReid Kleckner2015-02-251-3/+3
| | | | llvm-svn: 230447
* Don't eagerly load all conversion operators when loading a class declarationRichard Smith2013-08-301-4/+11
| | | | | | from a PCH/module. llvm-svn: 189646
* Be lazier when loading KeyFunctions from PCH/modules. We don't need to loadRichard Smith2013-08-291-6/+13
| | | | | | | | | | | | | | these in eagerly if we're not actually processing a translation unit. The added laziness here also avoids us loading in parts of a CXXRecordDecl earlier than an upcoming class template specialization merging patch would like. Ideally, we should mark the vtable as used when we see a definition for the key function, rather than having a separate pass over dynamic classes at the end of the TU. The existing approach is pretty bad for PCH/modules, since it forcibly loads the declarations of all key functions in all imported modules, whether or not those key functions are defined. llvm-svn: 189627
* Store in PCH the key function of C++ class to avoid deserializing the ↵Argyrios Kyrtzidis2010-10-141-0/+1
| | | | | | | | complete declaration context in order to compute it. Progress for rdar://7260160. llvm-svn: 116508
* Allow deserialization of just the fields of a record, when we want to ↵Argyrios Kyrtzidis2010-10-141-0/+19
iterate over them, instead of deserializing the complete declaration context of the record. Iterating over the fields of a record is very common (e.g to determine the layout), unfortunately we needlessly deserialize every declaration that the declaration context of the record contains; this can be bad for large C++ classes that contain a lot of methods. Fix this by allow deserialization of just the fields when we want to iterate over them. Progress for rdar://7260160. llvm-svn: 116507
OpenPOWER on IntegriCloud