Richard Smith
675d279af4
[modules] When we merge redecl chains or mark a decl used with an update
...
record, mark all subsequent decls as 'used' too, to maintain the AST invariant
that getPreviousDecl()->Used implies this->Used.
llvm-svn: 211050
2014-06-16 20:26:19 +00:00
Richard Smith
debcd500a0
Push implicitly-declared allocation functions into the IdResolver. Otherwise,
...
declaration merging in modules is unable to find them and we get bogus errors
and even crashes.
llvm-svn: 208944
2014-05-16 02:14:42 +00:00
Richard Smith
b45a6f72b6
Add missing serialization code for one of the CXXRecordDecl definition flags.
...
llvm-svn: 206493
2014-04-17 20:33:01 +00:00
Richard Smith
9dd9f036c6
Map from local decl IDs to global decl IDs when lazily deserializing friend decl chains.
...
llvm-svn: 189629
2013-08-30 00:23:29 +00:00
Richard Smith
42713d763f
If an unimported submodule of an imported module contains a declaration of a
...
global allocation or deallocation function, that should not cause that global
allocation or deallocation function to become unavailable.
llvm-svn: 186270
2013-07-14 02:01:48 +00:00