diff options
| author | Owen Anderson <resistor@mac.com> | 2008-06-01 22:26:26 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2008-06-01 22:26:26 +0000 |
| commit | 38099c1b6ef26fb6651f2aaa700c3c1de6e1c2ee (patch) | |
| tree | 618f522f648c13b4539c86a0ff577888174833bc /clang/lib/Sema/SemaDecl.cpp | |
| parent | e625a3b83fd888405a4053a390355b3319d1df61 (diff) | |
| download | bcm5719-llvm-38099c1b6ef26fb6651f2aaa700c3c1de6e1c2ee.tar.gz bcm5719-llvm-38099c1b6ef26fb6651f2aaa700c3c1de6e1c2ee.zip | |
Fix two issues that Eli Friedman pointed out, where would misoptimized code like:
char a[200];
init(a, a+200);
OR
int a[200];
char* b = (char*)a;
char* c = (char*)a;
foo(b, c);
llvm-svn: 51850
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions

