This patch fixes clang to not consider braced initializers for aggregate elements of arrays to be potentially dependent on the indices of the initialized elements. Resolves bug 18978:
initialize a large static array = clang oom?
https://bugs.llvm.org/show_bug.cgi?id=18978
Details
Details
- Reviewers
rsmith rjmccall - Commits
- rG1a20f69ce8bb: [AST] Fix passing large-array-init.cpp on builds without asserts
rG01df519f7efd: [AST] Refine the condition for element-dependent array fillers
rL325123: [AST] Fix passing large-array-init.cpp on builds without asserts
rC325123: [AST] Fix passing large-array-init.cpp on builds without asserts
rC325120: [AST] Refine the condition for element-dependent array fillers
rL325120: [AST] Refine the condition for element-dependent array fillers
Diff Detail
Diff Detail
- Repository
- rL LLVM