aboutsummaryrefslogtreecommitdiff
path: root/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-03-05 01:35:54 +0000
committerDouglas Gregor <dgregor@apple.com>2011-03-05 01:35:54 +0000
commit67da6f6f0c20dbfebb1c383a3efaf85d925ad33e (patch)
tree311c0f10a746fc0b89ba7cb7b63d54ad0d37b32a /lib/Serialization/ASTWriter.cpp
parentb1c86492f9a9bef01a4567408c22f961bbd604fe (diff)
When we're deserializing a template parameter declaration, temporarily
use the translation unit as its declaration context, then deserialize the actual lexical and semantic DeclContexts after the template parameter is complete. This avoids problems when the DeclContext itself (e.g., a class template) is dependent on the template parameter (e.g., for the injected-class-name). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions