diff options
author | Erich Keane <erich.keane@intel.com> | 2023-03-17 09:54:39 -0700 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2023-03-21 08:16:52 -0700 |
commit | 514e4359a543ea778c7fee6908a9c6eb10d0ccd9 (patch) | |
tree | 76ddc9969ec30ae263206ccc3f67dc6aabd47e2a /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | b33f5e7ed3cd04797b721e32b982b2cf6e06e192 (diff) | |
download | llvm-514e4359a543ea778c7fee6908a9c6eb10d0ccd9.zip llvm-514e4359a543ea778c7fee6908a9c6eb10d0ccd9.tar.gz llvm-514e4359a543ea778c7fee6908a9c6eb10d0ccd9.tar.bz2 |
inline stmt attribute diagnosing in templates
D146089's author discovered that our diagnostics for always/no inline
would null-dereference when used in a template. He fixed that by
skipping in the dependent case.
This patch makes sure we diagnose these after a template instantiation.
It also adds infrastructure for other statement attributes to add
checking/transformation.
Differential Revision: https://reviews.llvm.org/D146323
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions