forked from OSchip/llvm-project
cfc57bb6e3
Replace a large monolitic function, with per-table functions which all nicely fit on my screen. I also added documentation to each function that describes what kind of tables are generated and which information is contained and switched to range based for loops. Finally, I run clang-format over the moved code. I spent a significant amount of time to understand this code when reasoning about possible extensions to the diagnostic interface to support 'remark' diagnostics. This change will definitely help such an implementation, but already by itself it will save other people a lot of time when trying to understand this functionality. Even though the patch touches the full function, it is mostly mechanical. No functional change intended. The generated tblgen files are identical. llvm-svn: 208136 |
||
---|---|---|
.. | ||
ABITest | ||
CIndex | ||
TableGen | ||
TestUtils | ||
VtableTest | ||
analyzer | ||
valgrind | ||
CaptureCmd | ||
ClangDataFormat.py | ||
CmpDriver | ||
FindSpecRefs | ||
FuzzTest | ||
builtin-defines.c | ||
clang-completion-mode.el | ||
clang.natvis | ||
find-unused-diagnostics.sh | ||
token-delta.py |