aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2013-10-11 22:16:04 +0000
committerRichard Trieu <rtrieu@google.com>2013-10-11 22:16:04 +0000
commit0825469126d757c1ddb27a4cc167b131b7512930 (patch)
treef33be6852280fd662dc21fa361c1a07ff8d9b9fb /llvm/lib/Object/COFFObjectFile.cpp
parent98f134835f9f3081902a952277884ef8b802e951 (diff)
downloadllvm-0825469126d757c1ddb27a4cc167b131b7512930.zip
llvm-0825469126d757c1ddb27a4cc167b131b7512930.tar.gz
llvm-0825469126d757c1ddb27a4cc167b131b7512930.tar.bz2
Improve the error message for attempting to build a for range loop using a
function parameter that has array type. Such a parameter will be treated as a pointer type instead, resulting in a missing begin function error is a suggestion to dereference the pointer. This provides a different, more informative diagnostic as well as point to the parameter declaration. llvm-svn: 192512
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions