[cfe-commits] r43482 - in /cfe/trunk: AST/ASTContext.cpp include/clang/AST/ASTContext.h include/clang/AST/Type.h
Chris Lattner
clattner at apple.com
Tue Oct 30 10:59:13 PDT 2007
On Oct 29, 2007, at 4:37 PM, Ted Kremenek wrote:
> Author: kremenek
> Date: Mon Oct 29 18:37:31 2007
> New Revision: 43482
>
> URL: http://llvm.org/viewvc/llvm-project?rev=43482&view=rev
> Log:
> VariableArrayTypes (VLAs) without a size expression are now uniqued
> and inserted into a FoldingSet owned by ASTContext.
Nice, thanks Ted. Do you happen to know if this caused a reduction
in the number of types (particularly FunctionType's) that we create?
It occurred to me that not uniquing these would cause us to make
different types for these function protos, for example:
void foo(int x[]);
void bar(int x[]);
-Chris
More information about the cfe-commits
mailing list