aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2016-02-28 19:08:24 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2016-02-28 19:08:24 +0000
commit4d75e8d6761cb950b410d99fc09319bad51b14cb (patch)
tree375687cdc2021ffa691c12380c7e6c8351fdc3e3 /llvm/lib/Object/IRObjectFile.cpp
parentdf0cd72657c898b1ed2b67c55b41459bc3ab5ab0 (diff)
downloadllvm-4d75e8d6761cb950b410d99fc09319bad51b14cb.zip
llvm-4d75e8d6761cb950b410d99fc09319bad51b14cb.tar.gz
llvm-4d75e8d6761cb950b410d99fc09319bad51b14cb.tar.bz2
[modules] Prefer more complete array types.
If we import a module that has a complete array type and one that has an incomplete array type, the declaration found by name lookup might be the one with the incomplete type, possibly resulting in rejects-valid. Now, the name lookup prefers decls with a complete array types. Also, diagnose cases when the redecl chain has array bound, different from the merge candidate. Reviewed by Richard Smith. llvm-svn: 262189
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions