This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
5faf8a3d84
llvm-project
/
clang
/
test
/
Modules
/
Inputs
/
redecl-merge-left-left.h
8 lines
85 B
C
Raw
Normal View
History
Unescape
Escape
Use @import rather than @__experimental_modules_import, since the latter is rather a mess to type. llvm-svn: 169919
2012-12-12 06:11:52 +08:00
@
import
redecl_merge_left
;
If we end up merging an Objective-C class with an existing Objective-C class that comes from a different module file, make sure that we load all of the pending declarations for the original declaration. llvm-svn: 147168
2011-12-23 03:44:59 +08:00
@
class
C4
;
void
accept_a_C4
(
C4
*
)
;
When deserializing the definition of a C++ class/ObjC class/ObjC protocol, record the definition pointer in the canonical declaration for that entity, and then propagate that definition pointer from the canonical declaration to all other deserialized declarations. This approach works well even when deserializing declarations that didn't know about the original definition, which can occur with modules. A nice bonus from this definition-deserialization approach is that we no longer need update records when a definition is added, because the redeclaration chains ensure that the if any declaration is loaded, the definition will also get loaded. llvm-svn: 148223
2012-01-16 02:08:05 +08:00
@
class
ClassWithDef
;