summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcTargetMachine.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
commit250ffb1fcb79ee8783e3c42f3232e6700dee36b8 (patch)
treed34d0d7da729cd345da1d6c1b1733364a616f13a /llvm/lib/Target/Sparc/SparcTargetMachine.cpp
parent930e3ad51e23e6ef29657d607173faf3e0e2b7b8 (diff)
downloadbcm5719-llvm-250ffb1fcb79ee8783e3c42f3232e6700dee36b8.tar.gz
bcm5719-llvm-250ffb1fcb79ee8783e3c42f3232e6700dee36b8.zip
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). llvm-svn: 127056
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud