diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-30 18:53:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-30 18:53:26 +0000 |
commit | fedeaa304517b29ef3bb95519c5e8daef5569c73 (patch) | |
tree | 1e6251256498a6f68e82668f15b9ffcadcd6f22a /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 212d5c27f6bae67d3c5d819dd4204fde6fd8efd5 (diff) | |
download | bcm5719-llvm-fedeaa304517b29ef3bb95519c5e8daef5569c73.tar.gz bcm5719-llvm-fedeaa304517b29ef3bb95519c5e8daef5569c73.zip |
Don't use canonical type for sema here. In
void func() {
typedef int foo;
foo *Y;
**Y; // error
}
we now get:
indirection requires pointer operand ('foo' invalid)
instead of:
indirection requires pointer operand ('int' invalid)
llvm-svn: 40597
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions