diff options
| author | Serge Guelton <sguelton@quarkslab.com> | 2018-11-09 17:19:45 +0000 |
|---|---|---|
| committer | Serge Guelton <sguelton@quarkslab.com> | 2018-11-09 17:19:45 +0000 |
| commit | 86f8b70f1b7c3f92266197d580f6d86414650997 (patch) | |
| tree | 64e0ce36a5039e01903fc8f147ffc1a3170e9cf7 /llvm/tools/llvm-strings/llvm-strings.cpp | |
| parent | c44c174246280dc7614b6591f48010858f482eb9 (diff) | |
| download | llvm-86f8b70f1b7c3f92266197d580f6d86414650997.zip llvm-86f8b70f1b7c3f92266197d580f6d86414650997.tar.gz llvm-86f8b70f1b7c3f92266197d580f6d86414650997.tar.bz2 | |
Type safe version of MachinePassRegistry
Previous version used type erasure through a `void* (*)()` pointer,
which triggered gcc warning and implied a lot of reinterpret_cast.
This version should make it harder to hit ourselves in the foot.
Differential revision: https://reviews.llvm.org/D54203
llvm-svn: 346522
Diffstat (limited to 'llvm/tools/llvm-strings/llvm-strings.cpp')
0 files changed, 0 insertions, 0 deletions
