summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReader.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-11-06 00:35:02 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-11-06 00:35:02 +0000
commita1c27eb8ddfcfc92076acf18802951f0c4e52d13 (patch)
tree4058feb5ee31748049baafc32d23a67c03c0e35d /clang/lib/Serialization/ASTReader.cpp
parent88bc7f35b844131bcc5548db32cb269f5558da9b (diff)
downloadbcm5719-llvm-a1c27eb8ddfcfc92076acf18802951f0c4e52d13.tar.gz
bcm5719-llvm-a1c27eb8ddfcfc92076acf18802951f0c4e52d13.zip
[PCH] Write out the ClassTemplateDecl::Common::InjectedClassNameType type
reference instead of relying on computing it. In general, if storage is no issue, it is preferable to deserialize info from the PCH instead of trying to recompute it after the PCH was loaded. The incentive to change this now was due to r155303 changing how friend template classes in dependent contexts are handled; such classes can now be chained to a previous template class but the computed InjectedClassNameType may be different due to the extra template parameters from the dependent context. The new handling requires more investigation but, in the meantime, writing out InjectedClassNameType fixes PCH issue in rdar://12627738. llvm-svn: 167425
Diffstat (limited to 'clang/lib/Serialization/ASTReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud