forked from OSchip/llvm-project
ac69af7ad6
This is to address post-commit feedback from Paul Robinson on r348954. The original commit misinterprets count and upper bound as the same thing (I thought I saw GCC producing an upper bound the same as Clang's count, but GCC correctly produces an upper bound that's one less than the count (in C, that is, where arrays are zero indexed)). I want to preserve the C-like output for the common case, so in the absence of a lower bound the count (or one greater than the upper bound) is rendered between []. In the trickier cases, where a lower bound is specified, a half-open range is used (eg: lower bound 1, count 2 would be "[1, 3)" and an unknown parts use a '?' (eg: "[1, ?)" or "[?, 7)" or "[?, ? + 3)"). Reviewers: aprantl, probinson, JDevlieghere Differential Revision: https://reviews.llvm.org/D55721 llvm-svn: 349670 |
||
---|---|---|
.. | ||
AMDGPUMetadataVerifier.cpp | ||
CMakeLists.txt | ||
Dwarf.cpp | ||
LLVMBuild.txt | ||
Magic.cpp | ||
MsgPackReader.cpp | ||
MsgPackTypes.cpp | ||
MsgPackWriter.cpp | ||
Wasm.cpp |