[cfe-commits] r104169 - in /cfe/trunk: include/clang/AST/TypeLoc.h lib/Frontend/PCHReader.cpp lib/Frontend/PCHWriter.cpp lib/Parse/ParseDecl.cpp lib/Sema/Sema.h lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaTemplate.cpp lib/Sema/SemaType.cpp lib/Sema/TreeTransform.h

Douglas Gregor dgregor at apple.com
Fri May 28 13:23:32 PDT 2010


On May 28, 2010, at 10:53 AM, Abramo Bagnara wrote:

> Il 28/05/2010 19:33, Douglas Gregor ha scritto:
>> Hi Abramo,
>> 
>> This patch appears to be causing some valgrind failures in Clang, which you can see here:
>> 
>> 	http://google1.osuosl.org:8011/builders/clang-x86_64-linux-vg/builds/1033
>> 
>> It looks like it's a problem with the inner parts of ElaboratedTypeLoc not getting initialized (the FIXMEs).
> 
> Do you have any suggestion about how to fix that?


Well, the elaborated type's inner type will be either a TagType or a TemplateSpecializationType (I think that's all we can see there), so we should be able to copy the contents of the inner type location into the ElaboratedTypeLoc. 

	- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100528/a9af4140/attachment.html>


More information about the cfe-commits mailing list