diff options
| author | Steve Naroff <snaroff@apple.com> | 2007-08-27 04:08:11 +0000 |
|---|---|---|
| committer | Steve Naroff <snaroff@apple.com> | 2007-08-27 04:08:11 +0000 |
| commit | 808eb8fe88f968b338e5cf86ce0922ac4c485e56 (patch) | |
| tree | 33304b44ef33b50bb75d4697d8d0327b3f37f7f8 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
| parent | fc6ffa251398b01dae2aa4a1f49b021086aca573 (diff) | |
| download | bcm5719-llvm-808eb8fe88f968b338e5cf86ce0922ac4c485e56.tar.gz bcm5719-llvm-808eb8fe88f968b338e5cf86ce0922ac4c485e56.zip | |
Add Type::getAsBuiltinType() and Type::builtinTypesAreCompatible().
Modified Type::typesAreCompatible() to use the above.
This fixes the following bug submitted by Keith Bauer (thanks!).
int equal(char *a, const char *b)
{
return a == b;
}
Also tweaked Sema::CheckCompareOperands() to ignore the qualifiers when
comparing two pointer types (though it doesn't relate directly to this bug).
llvm-svn: 41476
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions

