[PATCH] D74361: [Clang] Undef attribute for global variables
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 14 08:12:12 PDT 2020
erichkeane added a comment.
I did a little debugging, and the problem is the template itself isn't a complete type until you require it with RequireCompleteType. You have this same problem with incomplete types: https://godbolt.org/z/hvf3M4
I would suspect you either add a RequireCompleteType for your loader_uninitialized checks, or move the check somewhere where it is already complete.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74361/new/
https://reviews.llvm.org/D74361
More information about the cfe-commits
mailing list