diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-05-04 06:07:12 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-05-04 06:07:12 +0000 |
| commit | 5b07c7ec057de27677dc4c0db2df4c5e998e9384 (patch) | |
| tree | 5045363b4e864cce1270baf625a95b314a27dcd2 /clang/lib/Analysis/GRExprEngine.cpp | |
| parent | 1d9a267b2ed523573f5f155113a5859990fb2762 (diff) | |
| download | bcm5719-llvm-5b07c7ec057de27677dc4c0db2df4c5e998e9384.tar.gz bcm5719-llvm-5b07c7ec057de27677dc4c0db2df4c5e998e9384.zip | |
Implement support for comparing pointers with <, >, <=, >=, ==, and !=
in C++, taking into account conversions to the "composite pointer
type" so that we can compare, e.g., a pointer to a derived class to a
pointer to a base class.
Also, upgrade the "comparing distinct pointer types" from a warning to
an error for C++, since this is clearly an error. Turns out that we
hadn't gone through and audited this code for C++, ever.
Fixes <rdar://problem/6816420>.
llvm-svn: 70829
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions

