aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-08-27 04:08:11 +0000
committerSteve Naroff <snaroff@apple.com>2007-08-27 04:08:11 +0000
commit808eb8fe88f968b338e5cf86ce0922ac4c485e56 (patch)
tree33304b44ef33b50bb75d4697d8d0327b3f37f7f8 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentfc6ffa251398b01dae2aa4a1f49b021086aca573 (diff)
downloadllvm-808eb8fe88f968b338e5cf86ce0922ac4c485e56.zip
llvm-808eb8fe88f968b338e5cf86ce0922ac4c485e56.tar.gz
llvm-808eb8fe88f968b338e5cf86ce0922ac4c485e56.tar.bz2
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