[cfe-commits] r129331 - in /cfe/trunk: include/clang/AST/ include/clang/Basic/ lib/AST/ lib/CodeGen/ lib/Sema/ lib/StaticAnalyzer/Core/ test/CodeGenCXX/ test/SemaCXX/

John McCall rjmccall at apple.com
Tue Apr 12 09:59:10 PDT 2011


On Apr 12, 2011, at 3:14 AM, Sebastian Redl wrote:

> On 12.04.2011 02:42, John McCall wrote:
>> Author: rjmccall
>> Date: Mon Apr 11 19:42:48 2011
>> New Revision: 129331
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=129331&view=rev
>> Log:
>> After some discussion with Doug, we decided that it made a lot more sense
>> for __unknown_anytype resolution to destructively modify the AST.  So that's
>> what it does now, which significantly simplifies some of the implementation.
> Does this work with chained PCH?

No, and I think that's okay;  this is intended to be a feature for in-process
clients using external AST sources — mainly LLDB — and not for general
compiler use.

We should probably add a callback for notifying the AST source that a
decl's type was modified, though.

John.



More information about the cfe-commits mailing list