aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PCHReader.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-10-17 20:50:27 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-10-17 20:50:27 +0000
commit759986e85990281ea741820822809ac57fd28c40 (patch)
tree72d38ce3307048f4f35fcffc7ec9e9765eaa6a7d /lib/Frontend/PCHReader.cpp
parent83885f7e3bf68d271e1e96726931814b836353a3 (diff)
Don't add implicit casts of explicit address-taking of overloaded functions.
Taking the address of an overloaded function with an explicit address-of operator wrapped the operator in an implicit cast that added yet another pointer level, leaving us with a corrupted AST, which crashed CodeGen in the test case I've added. Fix this by making FixOverloadedFunctionReference return whether there was an address-of operator and not adding the implicit cast in that case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReader.cpp')
0 files changed, 0 insertions, 0 deletions