diff options
author | Sean Callanan <scallanan@apple.com> | 2012-01-13 22:55:55 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-01-13 22:55:55 +0000 |
commit | cbbe3ac4a9e7bd4f3ee835582ca71c54d51b45bd (patch) | |
tree | 8ae08e154e69044a6eef2233ea6f060c0abbb885 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 35545421c862b5d084460b0bd6d35b842b17b995 (diff) | |
download | bcm5719-llvm-cbbe3ac4a9e7bd4f3ee835582ca71c54d51b45bd.tar.gz bcm5719-llvm-cbbe3ac4a9e7bd4f3ee835582ca71c54d51b45bd.zip |
I made two major improvements to the way the
master AST importer imports types.
- First, before importing the definition of a
Decl from its source, notify the underlying
importer of the source->destination mapping.
Especially for anonymous strucutres that are
otherwise hard to unique in the target AST
context, this hint is very helpful.
- When deporting a type or Decl from one
ASTContext to another (deporting occurs in
the case of moving result types from the
parser's AST context to the result AST
context), don't forget their origin if the
origin is the original debug information.
llvm-svn: 148152
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions