diff options
author | Richard Trieu <rtrieu@google.com> | 2013-10-11 22:16:04 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-10-11 22:16:04 +0000 |
commit | 0825469126d757c1ddb27a4cc167b131b7512930 (patch) | |
tree | f33be6852280fd662dc21fa361c1a07ff8d9b9fb /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 98f134835f9f3081902a952277884ef8b802e951 (diff) | |
download | llvm-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