[modules] Prefer more complete array types.If we import a module that has a complete array type and one that has anincomplete array type, the declaration found by name lookup might be the one with
[modules] Prefer more complete array types.If we import a module that has a complete array type and one that has anincomplete array type, the declaration found by name lookup might be the one withthe 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 mergecandidate.Reviewed by Richard Smith.llvm-svn: 262189
show more ...
Merge templated static member variables, fixes http://llvm.org/pr26179.Patch by Vassil Vassilev!Reviewed by Richard Smith.llvm-svn: 258524